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

Organize CLI flags in cli.go by category #391

Closed
wants to merge 1 commit into from

Conversation

phillip-stephens
Copy link
Contributor

Context

I was tired of sifting through the CLI options to find what I needed so I tried to organize them by category. Turns out Cobra doesn't currently support making groups of flags in the --help, so for now this change just affects the source code itself.

There may be a way to accomplish this in the --help with a custom message, but leaving that for a future day.

Testing

None needed, just re-shuffles the declaration of CLI flags.

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.

1 participant