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

implement short -v version flag (issue #654) #677

Closed
wants to merge 1 commit into from
Closed

implement short -v version flag (issue #654) #677

wants to merge 1 commit into from

Conversation

ilmanzo
Copy link

@ilmanzo ilmanzo commented Apr 15, 2018

added some tests to verify

Copy link
Contributor

@rajatjindal rajatjindal left a comment

Choose a reason for hiding this comment

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

-v is implemented popular projects for exposing verbosity level

(kubectl, kops)

I dont think we want to use -v for version as it will break those tools

@ilmanzo
Copy link
Author

ilmanzo commented Apr 16, 2018

Understandable.. but why not take this comment to the issue, so it can be useful to everyone? Thanks

@rajatjindal
Copy link
Contributor

thanks, added the comment there. adding disclaimer here too that I am not a member of Cobra project, and this is just my view, which Cobra maintainer may disagree with.

@eparis
Copy link
Collaborator

eparis commented Oct 21, 2018

See #654 (comment) for a mechanism I would accept.

@eparis eparis closed this Oct 21, 2018
@hairyhenderson
Copy link
Contributor

I've re-implemented this in #996 in a way that I think would work.

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.

4 participants