Skip to content

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

@bcoe

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions