Issue Description
Priority: Low
Type: Code inconsistency
Problem
The list command uses inconsistent output formatting in verbose mode compared to other commands. It directly uses fmt.Fprintf instead of console formatting helpers.
Current Code (list_workflows_command.go:70-73)
if verbose && !jsonOutput {
fmt.Fprintf(os.Stderr, "Listing workflow files\n")
if pattern != "" {
fmt.Fprintf(os.Stderr, "Filtering by pattern: %s\n", pattern)
}
}
Expected Pattern (from status_command.go:38-42)
if verbose && !jsonOutput {
fmt.Fprintln(os.Stderr, console.FormatInfoMessage("Checking status of workflow files"))
if pattern != "" {
fmt.Fprintln(os.Stderr, console.FormatInfoMessage(fmt.Sprintf("Filtering by pattern: %s", pattern)))
}
}
Impact
- Inconsistent visual appearance in verbose mode across commands
list command output won't have the blue info message styling
- Minor UX inconsistency, doesn't affect functionality
Suggested Fix
Update pkg/cli/list_workflows_command.go lines 70-73 to use console formatting:
if verbose && !jsonOutput {
fmt.Fprintln(os.Stderr, console.FormatInfoMessage("Listing workflow files"))
if pattern != "" {
fmt.Fprintln(os.Stderr, console.FormatInfoMessage(fmt.Sprintf("Filtering by pattern: %s", pattern)))
}
}
Related Guidelines
From AGENTS.md:
ALWAYS use console formatting for user output:
fmt.Fprintln(os.Stderr, console.FormatInfoMessage("Info"))
Related Code
AI generated by CLI Consistency Checker
Issue Description
Priority: Low
Type: Code inconsistency
Problem
The
listcommand uses inconsistent output formatting in verbose mode compared to other commands. It directly usesfmt.Fprintfinstead of console formatting helpers.Current Code (list_workflows_command.go:70-73)
Expected Pattern (from status_command.go:38-42)
Impact
listcommand output won't have the blue info message stylingSuggested Fix
Update
pkg/cli/list_workflows_command.golines 70-73 to use console formatting:Related Guidelines
From AGENTS.md:
Related Code
pkg/cli/list_workflows_command.go:70-73pkg/cli/status_command.go:38-42pkg/console/console.goRelated to [cli-consistency] CLI Consistency Issues - January 30, 2026 #12740