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

Add a --version|-v flag to display the project version #17

Closed
davidbtadokoro opened this issue Aug 4, 2024 · 0 comments
Closed

Add a --version|-v flag to display the project version #17

davidbtadokoro opened this issue Aug 4, 2024 · 0 comments
Labels
new-feature A new functionality request waiting-stable Waiting merging into the master branch

Comments

@davidbtadokoro
Copy link
Collaborator

Description:

Like most CLI apps, add a flag --version|-v to display the project version.

Motivation:

Although not utmost necessary, it is a great "quality of life" feature that doesn't seem complex to implement.

Idea:

Use the CARGO_PKG_VERSION environment variable from cargo. As it is exposed at compile time, it seems that the task is only displaying this value to the user.

@davidbtadokoro davidbtadokoro added the new-feature A new functionality request label Aug 4, 2024
@davidbtadokoro davidbtadokoro added the waiting-stable Waiting merging into the master branch label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A new functionality request waiting-stable Waiting merging into the master branch
Projects
None yet
Development

No branches or pull requests

1 participant