-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Remove short-flags in cli.flags
if they're defined as alias
#102
Comments
@issuehuntfest has funded $40.00 to this issue. See it on IssueHunt |
@PicchiKevin has submitted a pull request. See it on IssueHunt |
@sindresorhus has rewarded $36.00 to @PicchiKevin. See it on IssueHunt
|
hi all, around 10 meow dependent CLI's of mine were dependent on aliases. I've been using |
Convenience for you, but worse readability for anyone else reading your code. The change was done exactly to fix code like yours.
I cannot promise that. If something will help people improve their CLIs or code, I'll do it. |
Since
c
andl
are defined asalias
for two other flags, I think we should just exclude the short-flags from thecli.flags
output. They just create noise there.So it would be this instead:
Thoughts?
The text was updated successfully, but these errors were encountered: