Skip to content

fix: standardize table output format flag#233

Merged
craicoverflow merged 2 commits intomainfrom
formalize-list-output-formats
Jan 15, 2021
Merged

fix: standardize table output format flag#233
craicoverflow merged 2 commits intomainfrom
formalize-list-output-formats

Conversation

@craicoverflow
Copy link
Contributor

@craicoverflow craicoverflow commented Jan 15, 2021

Resolves #232

$ rhoas <resource> list -o plain

This PR changes "table" and "plain-text" to instead use "plain" as the default value for printing a table.

It is worth nothing that https://clig.dev/#output recommends using individual flags --json, --yaml, --plain, but this differs from kubectl/oc.

@craicoverflow craicoverflow requested a review from wtrocki January 15, 2021 13:02
@wtrocki
Copy link
Collaborator

wtrocki commented Jan 15, 2021

🔥

@wtrocki
Copy link
Collaborator

wtrocki commented Jan 15, 2021

For my info. Is that coming as result of alignment meetings?

@craicoverflow
Copy link
Contributor Author

Not that particular one no. I just noticed that there was a difference while using the CLI.

@craicoverflow craicoverflow merged commit a4b5e65 into main Jan 15, 2021
@craicoverflow craicoverflow deleted the formalize-list-output-formats branch January 15, 2021 13:50
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.

Standardize output format options for lists

2 participants