-
Notifications
You must be signed in to change notification settings - Fork 190
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 support for -v in the wing-cli #6763
Comments
Should be pretty easy to add to the CLI. Implementation details: for the CLI we're using Commander JS, which provides the program.name("wing").version(PACKAGE_VERSION); |
OK cool, I'm happy to pick this up |
You got it |
fixes #6763 Wing CLI currently supports `-V` and `--version`. This adds the ability to `-v` to get the current version. ## Checklist - [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [ ] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
Congrats! 🚀 This was released in Wing 0.76.7. |
Use Case
Very minor issue, but might be nice to support
-v
on the wing-cli to get the version of wing.Wing currently supports
wing -V
, be nice to supportwing -v
too.Proposed Solution
Desired experience would be to support both
-V
and-v
to get the installed version of wing-cli.Implementation Notes
Similar to how we have it implemented for
-V
, just extend for-v
Component
CLI
Community Notes
The text was updated successfully, but these errors were encountered: