-
Notifications
You must be signed in to change notification settings - Fork 172
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
refactor(cli): flag cleanup #1351
Conversation
✅ Deploy Preview for docs-kargo-akuity-io ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1351 +/- ##
==========================================
+ Coverage 45.56% 45.61% +0.05%
==========================================
Files 135 135
Lines 11657 11644 -13
==========================================
Hits 5311 5311
+ Misses 6155 6142 -13
Partials 191 191 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
155f916
to
09e85be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🙏🏻🎉
This PR fixes two things I noticed today:
There's a lot of unnecessary complexity in how we're setting up widely used flags for various CLI sub-commands. A little bit of simplification makes this much easier to follow.
The login command was doing flags very differently from how all other commands were, so I fixed it to be more consistent.