Skip to content
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

positional arguments of sub-commands trigger strict() error #795

bcoe opened this issue Feb 25, 2017 · 0 comments


Copy link

commented Feb 25, 2017

In the following code example, the positional argument y triggers a strict error:

        .command('request', 'request command', function (yargs) {
            .command('get <y>', 'sub-command')

expected behavior

We should recognize the variable y.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.