Add 'env' alias for 'environment' command#3219
Conversation
Signed-off-by: RayyanSeliya <rayyanseliya786@gmail.com>
|
hey @gauron99 a small gift for u ! |
gauron99
left a comment
There was a problem hiding this comment.
hey thanks, just remove the extra lines in the synopsis and keep the "standard" one please
|
|
||
| SYNOPSIS | ||
| func environment [-f|--format] [-v|--verbose] [-p|--path] | ||
| func env [-f|--format] [-v|--verbose] [-p|--path] |
There was a problem hiding this comment.
| func env [-f|--format] [-v|--verbose] [-p|--path] |
|
|
||
| SYNOPSIS | ||
| {{rootCmdUse}} environment [-f|--format] [-v|--verbose] [-p|--path] | ||
| {{rootCmdUse}} env [-f|--format] [-v|--verbose] [-p|--path] |
There was a problem hiding this comment.
| {{rootCmdUse}} env [-f|--format] [-v|--verbose] [-p|--path] |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3219 +/- ##
=======================================
Coverage 51.81% 51.81%
=======================================
Files 162 162
Lines 19131 19132 +1
=======================================
+ Hits 9912 9913 +1
Misses 8241 8241
Partials 978 978
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
okk thx for pointing out !! will do it |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gauron99, RayyanSeliya The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
envalias forenvironmentcommand to improve developer experience/kind enhancement
Fixes #3218
Why: The
environmentcommand is the longest command in the CLI (11 characters) and lacks a short alias, making it inconsistent with other commands likerepository→repoandlist→ls. This PR adds the intuitiveenvalias to improve usability and maintain consistency across the CLI.What Changed:
Aliases: []string{"env"}to theenvironmentcommand definitionfunc environmentandfunc envin SYNOPSISRelease Note
Docs