ArgumentSet.subCommand constructor
ArgumentSet.subCommand(
- ArgumentSet parent
Implementation
ArgumentSet.subCommand(ArgumentSet parent)
: positional = List.of(parent.positional),
options = Map.of(parent.options),
shortToLong = Map.of(parent.shortToLong),
// Always clear the commands.
commands = <String, CommandDefinition>{},
_mutable = true;