Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: separate auth method config output for easier reading. #15892

Merged
merged 3 commits into from
Jan 30, 2023

Conversation

jrasell
Copy link
Member

@jrasell jrasell commented Jan 26, 2023

"easier reading" is subjective, so interested in overall feedback on how this looks and what could be improved.

@jrasell jrasell added this to the 1.5.0 milestone Jan 26, 2023
@jrasell jrasell self-assigned this Jan 26, 2023
Copy link
Contributor

@pkazmierczak pkazmierczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is good, it does make the output more readable. Are we sure it doesn't break any formatting conventions? (I don't think our other commands output this way?)

Then again does it matter? If users want a particular way of output formatting, they can use json or template flags.

@shoenig
Copy link
Member

shoenig commented Jan 26, 2023

After some random clicking in the docs, I think the only tweak I'd suggest is removing the use of colons on the headers, e.g.

https://developer.hashicorp.com/nomad/docs/commands/status#examples
https://developer.hashicorp.com/nomad/docs/commands/acl/policy/info#examples

And perhaps something more descriptive than "Config"

@jrasell jrasell force-pushed the jrasell/f-sso-auth-method-output-separate-config-cli branch from 44c65bc to 3b9bce5 Compare January 30, 2023 09:51
@jrasell jrasell merged commit 166aee7 into main Jan 30, 2023
@jrasell jrasell deleted the jrasell/f-sso-auth-method-output-separate-config-cli branch January 30, 2023 10:44
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.

3 participants