Open
Description
It would be very useful to be able to have two types of arguments/flags/options:
- Common to all invocations of the program, including all subcommands or no subcommands
- Conflicting with any subcommands
Syntax proposal:
var p = newParser:
flag("-n", "--dryrun") # common
rootCommand:
arg("input") # can't be used with `frobnicate`
command("frobnicate"):
flag("-b")
arg("subcommandInput")
Metadata
Metadata
Assignees
Labels
No labels