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 version option #27

Closed
S30tt opened this issue Jan 26, 2023 · 1 comment
Closed

Add version option #27

S30tt opened this issue Jan 26, 2023 · 1 comment

Comments

@S30tt
Copy link

S30tt commented Jan 26, 2023

Is your feature request related to a problem? Please describe.
No, this is a new feature.

Describe the solution you'd like
When running packj -v or packj --version it will display the version number of the tool.

Describe alternatives you've considered
Passing a random string as the command to the tool returns and error. The prefix of the error is the app version string. I am considering parsing this but a dedicated command -v --version would be more standard.

@ashishbijlani
Copy link
Collaborator

Thanks! Commit 6e7eca8 takes care of this.

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

No branches or pull requests

2 participants