-
Notifications
You must be signed in to change notification settings - Fork 16
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
Proposal to Add -v or --version Parameter to CLI Interface #80
Comments
Sure, good idea. I would avoid hard-coding the current version though. We can use this snippet during build time to get the version number from the Git tags:
Cool thing is that between two versions you still get a descriptive version number, e.g. |
This is very easy to do using goreleaser (which we already use). See https://goreleaser.com/cookbooks/using-main.version/
|
We'll also need to add this version number in our JSON output, as we're increasingly going to rely on it. |
@HadrienGardeur Has it been decided how the version number would be output in the WebPub? |
@chocolatkey since our extensibility is built on URIs in RWPM, I recommend using |
@HadrienGardeur Just to confirm - the |
You're right, we can drop it. |
I would like to propose the addition of a new parameter, either -v or --version, to the command-line interface (CLI) of our tool. This parameter would allow users to quickly retrieve information about the version of the tool they are using.
Currently, when working with the CLI, it can be cumbersome to find the version of the tool.
The text was updated successfully, but these errors were encountered: