Skip to content

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

Description

@bcoe

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions