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
cli .command("something", "Do something") .alias("!") .action(async () => { console.log("Did something!"); });
Should log 'Did something!' if you run cli something or cli
cli something
cli
Only logs when running cli something
cac/src/CAC.ts
Lines 200 to 210 in abe662b
command.isDefaultCommand
We should also add documentation explaining the ! alias.
!
The text was updated successfully, but these errors were encountered:
Fix cacjs#151
442f469
b0d4932
No branches or pull requests
Issue Type
Expected
Should log 'Did something!' if you run
cli something
orcli
Actual
Only logs when running
cli something
Possible Solutions
cac/src/CAC.ts
Lines 200 to 210 in abe662b
command.isDefaultCommand
rather than the name.We should also add documentation explaining the
!
alias.Info
The text was updated successfully, but these errors were encountered: