Uses of Class
net.morimekta.console.args.ArgumentParser
-
Packages that use ArgumentParser Package Description net.morimekta.console.args -
-
Uses of ArgumentParser in net.morimekta.console.args
Methods in net.morimekta.console.args that return ArgumentParser Modifier and Type Method Description <A extends BaseArgument>
ArgumentParserArgumentParser. add(A arg)
Add a sub-command.<O extends BaseOption>
ArgumentParserArgumentParser. 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.ArgumentParser
ArgumentException. getParser()
Methods in net.morimekta.console.args with parameters of type ArgumentParser Modifier and Type Method Description ArgumentException
ArgumentException. setParser(ArgumentParser parser)
Constructors in net.morimekta.console.args with parameters of type ArgumentParser Constructor Description ArgumentParser(ArgumentParser parent, java.lang.String subCommand, java.lang.String description)
Create a sub-command argument parser for the given sub-command.Constructor parameters in net.morimekta.console.args with type arguments of type ArgumentParser Constructor Description SubCommand(java.lang.String name, java.lang.String usage, boolean hidden, java.util.function.Supplier<SubCommandDef> instanceFactory, java.util.function.Function<SubCommandDef,ArgumentParser> parserFactory, java.lang.Iterable<java.lang.String> aliases)
Make a single sub-command.SubCommand(java.lang.String name, java.lang.String usage, boolean hidden, java.util.function.Supplier<SubCommandDef> instanceFactory, java.util.function.Function<SubCommandDef,ArgumentParser> parserFactory, java.lang.String... aliases)
Make a single sub-command.SubCommand(java.lang.String name, java.lang.String usage, java.util.function.Supplier<SubCommandDef> instanceFactory, java.util.function.Function<SubCommandDef,ArgumentParser> parserFactory, java.lang.Iterable<java.lang.String> aliases)
Make a single sub-command.SubCommand(java.lang.String name, java.lang.String usage, java.util.function.Supplier<SubCommandDef> instanceFactory, java.util.function.Function<SubCommandDef,ArgumentParser> parserFactory, java.lang.String... aliases)
Make a single sub-command.
-