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

feat: Add -v as a shorthand for --version #24

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

elrrrrrrr
Copy link
Contributor

Fixed the issue with jsr -v throwing an error.

  • 🎨 Added an alias -v alias to --version, following the logic of other package managers.

Copy link
Collaborator

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

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

Thanks!

@bartlomieju bartlomieju reopened this Feb 29, 2024
@CLAassistant
Copy link

CLAassistant commented Feb 29, 2024

CLA assistant check
All committers have signed the CLA.

@bartlomieju
Copy link

Thanks for the PR, please sign the CLA so we can merge it :)

Copy link
Contributor

@morinokami morinokami left a comment

Choose a reason for hiding this comment

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

Hey, I think line 60 should be updated as well.

Update

      ["--version", "Print the version number."],

to

      ["-v, --version", "Print the version number."],

@marvinhagemeister marvinhagemeister changed the title fix: short v feat: Add -v as a shorthand for --version Feb 29, 2024
@marvinhagemeister marvinhagemeister merged commit 83cf2e2 into jsr-io:main Feb 29, 2024
5 checks passed
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.

5 participants