Skip to content

Add --version flag to CLI - #68

Closed
shraddhaa09 wants to merge 2 commits into
parneetsingh022:mainfrom
shraddhaa09:feat/cli-version-flag
Closed

Add --version flag to CLI#68
shraddhaa09 wants to merge 2 commits into
parneetsingh022:mainfrom
shraddhaa09:feat/cli-version-flag

Conversation

@shraddhaa09

Copy link
Copy Markdown

Description

I added a new --version flag to the pygha CLI.
Now, running pygha --version in 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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist

  • All tests pass locally (pytest)
  • I have written or updated tests for any changes
  • I have updated the documentation for any changes
  • I have updated changelog.md and referred to the issue in the changelog entry

@github-actions

Copy link
Copy Markdown

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):

  • 📚 Docs: I didn't see any changes to the docs/ folder. If this adds a new feature or changes behavior, please remember to update the documentation.

Please make sure you've read our Contributing Guidelines.

By contributing, you agree that your contributions will be licensed under the MIT License.

@parneetsingh022

Copy link
Copy Markdown
Owner

@shraddhaa09 this issue has already been resolved in #65

@shraddhaa09
shraddhaa09 deleted the feat/cli-version-flag branch December 19, 2025 18:22
@shraddhaa09

Copy link
Copy Markdown
Author

@shraddhaa09 this issue has already been resolved in #65

Thanks for letting me know!
Looks like this was already addressed in #65.
I’ll close this PR from my side. Appreciate the review.

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.

2 participants