Skip to content

Conversation

@HuyPhanNguyen
Copy link
Contributor

@HuyPhanNguyen HuyPhanNguyen commented Aug 7, 2025

The default output format is already configured in root.go as "table" for commands that support the -f flag:

cmdPFlags.StringP(constants.FlagOutputFormat, "f", constants.OutputFormatTable, `Specify the output format for a command ("json", "table", or "basic")`)

This PR removes custom default format overrides from individual commands, ensuring consistent behavior across the CLI by relying on the global default.

@HuyPhanNguyen HuyPhanNguyen marked this pull request as ready for review August 7, 2025 08:38
@HuyPhanNguyen HuyPhanNguyen merged commit 2fb738a into main Aug 12, 2025
4 checks passed
@HuyPhanNguyen HuyPhanNguyen deleted the huy/sc-116437-format-output-default-to-table branch August 12, 2025 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants