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

Closed
bcoe opened this issue Feb 25, 2017 · 0 comments

Comments

@bcoe
Copy link
Member

commented Feb 25, 2017

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

        .command('request', 'request command', function (yargs) {
          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
Projects
None yet
2 participants
You can’t perform that action at this time.