| Package | Description |
|---|---|
| net.morimekta.console.args |
| Modifier and Type | Method and Description |
|---|---|
<A extends BaseArgument> |
ArgumentParser.add(A arg)
Add a sub-command.
|
<O extends BaseOption> |
ArgumentParser.add(O option)
Add a command line option.
|
ArgumentParser |
SubCommand.getArgumentParser(SubCommandDef instance)
Get the sub-commands internal argument argumentParser initializes with it's
own options.
|
| Constructor and Description |
|---|
SubCommand(String name,
String usage,
boolean hidden,
Supplier<SubCommandDef> instanceFactory,
Function<SubCommandDef,ArgumentParser> parserFactory,
Iterable<String> aliases) |
SubCommand(String name,
String usage,
boolean hidden,
Supplier<SubCommandDef> instanceFactory,
Function<SubCommandDef,ArgumentParser> parserFactory,
String... aliases) |
Copyright © 2016. All rights reserved.