Add --version flag to CLI - #68
Closed
shraddhaa09 wants to merge 2 commits into
Closed
Conversation
|
Hi @shraddhaa09, this is the PyGHA bot! 🤖 Thanks for your contribution! We will review your changes and get back to you soon. Just a quick reminder:I noticed a few things that might be missing (but ignore this if they aren't required for your specific change):
Please make sure you've read our Contributing Guidelines. By contributing, you agree that your contributions will be licensed under the MIT License. |
Owner
|
@shraddhaa09 this issue has already been resolved in #65 |
Author
Thanks for letting me know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I added a new --version flag to the pygha CLI.
Now, running
pygha --versionin the terminal shows the current version of the library (e.g., pygha 0.2.1).This helps users know which version they have installed.
I also tested it locally and the output works correctly.
All existing tests passed and I added a new test for the --version flag.
Related Issue
none
Type of Change
Checklist
pytest)changelog.mdand referred to the issue in the changelog entry