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
Error: command does not exist #1154
Comments
For historical reasons, program
.command("list-buckets")
.description("List all S3 buckets") See https://github.com/tj/commander.js#commands for examples |
Thank you for your quick response, I don’t know that, I’ll try it out :) |
On a related note, I have changed the "error" to a "throw" in #1165 with some additional tips to hopefully make it quicker for the author to recognise and resolve the problem. (This change is not in a published prerelease yet.) |
Commander v5.0.0 has been released with additional error output to make it easier to recognise and correct this issue. |
why this code snippet throws that error, this is the output when running the command:
OS: macOS
nodeJS version: v13.6.0
commander: "^4.1.0"
am I doing something wrong?
The text was updated successfully, but these errors were encountered: