Skip to content

Feat: Add coder version subcommand and remove the shorthand -v (to give room for -v as verbose) #1543

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

Closed
Tracked by #1939
mafredri opened this issue May 18, 2022 · 3 comments
Assignees
Labels
api Area: HTTP API cli Area: CLI
Milestone

Comments

@mafredri
Copy link
Member

What is your suggestion?

I'm suggesting we add a coder version subcommand and remove the shorthand -v flag. This is similar to how git and gh behave.

Docker implements docker version as extended version output, whereas --version is short.

An option is to rename -v to -V which is used in some tools, but not in the aforementioned ones.

Why do you want this feature?

I think it would be nice to reserve -v for getting more verbose output from the CLI/server.

Are there any workarounds to get this functionality today?

No.

Are you interested in submitting a PR for this?

Yes.

@mafredri mafredri changed the title Feat: Add coder version subcommand and remove the shorthand -v Feat: Add coder version subcommand and remove the shorthand -v (to give room for -v as verbose) May 18, 2022
@greyscaled greyscaled added the cli Area: CLI label May 18, 2022
@misskniss misskniss added the api Area: HTTP API label May 24, 2022
@tjcran tjcran added this to the Community MVP milestone May 30, 2022
@Emyrk Emyrk self-assigned this Jun 6, 2022
@Emyrk
Copy link
Member

Emyrk commented Jun 6, 2022

#2090

@ketang
Copy link
Contributor

ketang commented Jun 6, 2022

I like -vv for extreeeeeeme verbosity.

@Emyrk
Copy link
Member

Emyrk commented Jun 6, 2022

#2090 Adds coder version and removes flags -v and --version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API cli Area: CLI
Projects
None yet
Development

No branches or pull requests

6 participants