You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can not reproduce with your example code, but from the error I think you are triggering Git-style sub-commands by using .command() with a description argument like .command("push", "push description").
If that is the issue then you probably want to call .description instead like:
program
.option('-p, --path <string>','your local path such as ./')
.command('push <ak> <sk> <ifcli>')
.description("push description")
.action(function (cmd,ak,sk,ifcli) {})
code :
the commander is "lizi"
when I write "lizi push 111 222 yes"
then
The text was updated successfully, but these errors were encountered: