Skip to content

Make argument required unless option is set #12

@tjhanley

Description

@tjhanley

Is there a way to have something like this

cmd subcommand start [--branch BRANCH] [TICKET]

I want TICKET to be required unless --branch is specified

Metadata

Metadata

Assignees

Labels

No labels
No labels

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