fix: continue including maintenance mode cron tasks in the cron:list subcommand

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-06-08 22:34:47 -04:00
1 parent c0eb12f572
commit 0f4b5d4305
4 files changed
+24 -14

No files matched your search

+2 -2
View File
@@ -32,9 +32,9 @@ func CommandList(appName string, format string) error {
}
if format == "stdout" {
output := []string{"ID | Schedule | Command"}
output := []string{"ID | Schedule | Maintenance | Command"}
for _, entry := range entries {
output = append(output, fmt.Sprintf("%s | %s | %s", entry.ID, entry.Schedule, entry.Command))
output = append(output, fmt.Sprintf("%s | %s | %t | %s", entry.ID, entry.Schedule, entry.Maintenance, entry.Command))
}
result := columnize.SimpleFormat(output)