Skip to content

Enhancement: remove short options from args passed to commands #1992

@waldekmastykarz

Description

@waldekmastykarz

We should remove short options from args passed to the command.

Rationale

In some commands, we allow using unknown options. Unfortunately, after the recent migration to minimist, both the short option and its resolved equivalent are passed into the command. Historically, we've excluded only the resolved equivalents and not the short options from being added to the request. In the current state, the included shorts lead to request errors. Since we don't use them in our code, we should remove them from the args object passed into the command as well as the catch-all _ property.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions