Module net.morimekta.terminal
Package net.morimekta.terminal.args
Interface SubCommandSet.Builder<SubCommandDef>
-
- All Superinterfaces:
ArgParserBuilder
- Enclosing interface:
- SubCommandSet<SubCommandDef>
public static interface SubCommandSet.Builder<SubCommandDef> extends ArgParserBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SubCommandSet.Builder<SubCommandDef>
add(SubCommand.Builder<? extends SubCommandDef> subCommand)
SubCommandSet.Builder<SubCommandDef>
add(SubCommand<? extends SubCommandDef> subCommand)
SubCommandSet.Builder<SubCommandDef>
defaultCommand(String name)
SubCommandSet.Builder<SubCommandDef>
optionalCommand()
-
Methods inherited from interface net.morimekta.terminal.args.ArgParserBuilder
build, parse, parse
-
-
-
-
Method Detail
-
optionalCommand
SubCommandSet.Builder<SubCommandDef> optionalCommand()
-
defaultCommand
SubCommandSet.Builder<SubCommandDef> defaultCommand(String name)
-
add
SubCommandSet.Builder<SubCommandDef> add(SubCommand<? extends SubCommandDef> subCommand)
-
add
default SubCommandSet.Builder<SubCommandDef> add(SubCommand.Builder<? extends SubCommandDef> subCommand)
-
-