We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The allowNo option on BooleanFlag doesn't match against aliases.
allowNo
BooleanFlag
To Reproduce Create a BooleanFlag with an alias and allowNo enabled.
gitTag: Flags.boolean({ aliases: ["git-tag"], allowNo: true, description: "Create a git tag when publishing the package.", }),
Try to invoke the command with the no prefix and one of the aliases:
no
mycli publish --no-git-tag
And you'll get the nonexistent flag error:
Nonexistent flag: --no-git-tag See more help with --help
Expected behavior Flag aliases should be usable with the no prefix.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
This issue has been linked to a new work item: W-17318341
Sorry, something went wrong.
Glad you reported this! I just ran into this myself a few weeks back!
No branches or pull requests
Describe the bug
The
allowNo
option onBooleanFlag
doesn't match against aliases.To Reproduce
Create a
BooleanFlag
with an alias andallowNo
enabled.Try to invoke the command with the
no
prefix and one of the aliases:And you'll get the nonexistent flag error:
Nonexistent flag: --no-git-tag See more help with --help
Expected behavior
Flag aliases should be usable with the
no
prefix.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: