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
--
If an optional argument is defined sade will parse after --
import sade from 'sade' sade('prog') .command('build [config]').action(console.log) .parse(['node', 'cli.js', 'build', '--', 'abc', 'xyz'])
Results in "abc", {_: ["xyz"]}
"abc", {_: ["xyz"]}
But I'd expect it to parse undefined, {_: ["abc', "xyz"]}
undefined, {_: ["abc', "xyz"]}
The text was updated successfully, but these errors were encountered:
Use options until we get a fix for lukeed/sade#57
f6143d9
No branches or pull requests
If an optional argument is defined sade will parse after
--
Results in
"abc", {_: ["xyz"]}
But I'd expect it to parse
undefined, {_: ["abc', "xyz"]}
The text was updated successfully, but these errors were encountered: