We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a568a commit 4c53371Copy full SHA for 4c53371
1 file changed
internal/commands/commands.go
@@ -24,11 +24,11 @@ type flagInfo struct {
24
Description string `json:"description"`
25
}
26
27
-// commandsCmd emits a flat catalog of all commands with their flags.
+// commandsCmd emits a catalog of all commands with their flags.
28
var commandsCmd = &cobra.Command{
29
Use: "commands",
30
Short: "List all available commands",
31
- Long: "Lists all available commands with their flags in JSON format.",
+ Long: "Lists all available commands. Use --json for a structured command catalog.",
32
RunE: func(cmd *cobra.Command, args []string) error {
33
catalog := walkCommands(rootCmd, "fizzy")
34
printSuccess(catalog)
0 commit comments