-
Notifications
You must be signed in to change notification settings - Fork 0
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(#197): --version, -v #198
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #198 +/- ##
=======================================
Coverage 74.69% 74.69%
=======================================
Files 20 20
Lines 328 328
=======================================
Hits 245 245
Misses 83 83 ☔ View full report in Codecov by Sentry. |
@rultor merge |
@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here. |
@h1alexbel Done! FYI, the full log is here (took me 15min). |
@rultor release, tag is |
@h1alexbel OK, I will release it now. Please check the progress here. |
@h1alexbel Done! FYI, the full log is here (took me 19min). |
@h1alexbel Great work on your contribution! 🌟 You've earned +4 points: +4 base, -16 for missing code review, -4 for minimal comments, +20 bonus. We appreciate your effort! Keep the momentum going. Your current balance is +35. Looking forward to your next submission! |
closes #197
PR-Codex overview
This PR enhances the
fakehub
CLI by adding version output tests and modifying the argument parser to include a version flag.Detailed summary
outputs_version
to check the output of the--version
flag.outputs_version_from_short
to check the output of the-v
flag.Args
struct to include a version argument withArgAction::Version
.command
attribute to include the version in the command metadata.