-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Issues with 2.7.1 when using sub commands #372
Comments
Could u provide more detail information? thx |
See files below, i have a base
2.6.0
2.7.1
cli.js var program = require('commander');
program
.version('0.0.1')
.option('-C, --chdir <path>', 'change the working directory')
.command('stacks [cmd]', 'install one or more packages')
.parse(process.argv); cli-stacks.js var program = require('commander');
program
.command('create [name]', 'install one or more packages')
.command('delete [query]', 'search with optional query')
.parse(process.argv); |
I'm experiencing the same issue on linux, on windows the sub command is found. I'm getting the following error: clitest-install(1) does not exist, try --help Another issue - list coercion function not working, under 2.6.0 working |
Issue i'm seeing stems from 154fb8b appears your not calling |
I'm having the same issue! |
@AdamMagaluk yep, I will find a way to fix this. You can add |
@AdamMagaluk yep, u are right. I am working on this bug now. Hope to release a patch version later. |
Just for leave a note about this. I was using the git style and because I didn't use
|
Sub commands are not working on the lastest, was working in 2.6.0.
Running
node cli
works butnode cli subcommand
fails with the error below.The text was updated successfully, but these errors were encountered: