Module net.morimekta.terminal
Package net.morimekta.terminal.args
Interface SubCommandSet<SubCommandDef>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SubCommandSet.Builder<SubCommandDef>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubCommand<? extends SubCommandDef>
getSubCommandByName(String name)
List<SubCommand<? extends SubCommandDef>>
getSubCommands()
ArgParser
parserForSubCommand(String name)
-
Methods inherited from interface net.morimekta.terminal.args.Arg
apply, getDefaultValue, getName, getPrefix, getSingleLineUsage, getUsage, isHidden, isRepeated, isRequired, validate
-
-
-
-
Method Detail
-
getSubCommands
List<SubCommand<? extends SubCommandDef>> getSubCommands()
- Returns:
- Subcommands in the set ordered as declared.
-
getSubCommandByName
SubCommand<? extends SubCommandDef> getSubCommandByName(String name)
-
-