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

chore: improve help command output #968

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Conversation

pivotal-marcela-campo
Copy link
Member

Checklist:

* [ ] Have you added or updated tests to validate the changed functionality?
* [ ] Have you added Release Notes in the docs repositories?

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/187221688

The labels on this github issue will be updated when the story is started.

Copy link
Member

@blgm blgm left a comment

Choose a reason for hiding this comment

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

Happy for this to be merged as it is. If I were being very fussy I would have suggested that "local" were turned into a constant rather than a repeated string, and rather than having a var that's used only once, I'd prefer to inline it like:

rootCmd.AddGroup(&cobra.Group{...})

@pivotal-marcela-campo pivotal-marcela-campo merged commit 4e63c0f into main Mar 14, 2024
7 checks passed
@pivotal-marcela-campo pivotal-marcela-campo deleted the improve-command-help branch March 14, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants