CommandLine.Model.CommandSpec |
CommandLine.Model.CommandSpec.addMethodSubcommands(CommandLine.IFactory factory) |
Reflects on the class of the user object and registers any command methods
(class methods annotated with @Command ) as subcommands.
|
static CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.builder(CommandLine.Model.IAnnotatedElement source,
CommandLine.IFactory factory) |
|
static CommandLine.Model.PositionalParamSpec.Builder |
CommandLine.Model.PositionalParamSpec.builder(CommandLine.Model.IAnnotatedElement source,
CommandLine.IFactory factory) |
|
static <C extends Callable<T>,T> T |
CommandLine.call(Class<C> callableClass,
CommandLine.IFactory factory,
PrintStream out,
PrintStream err,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static <C extends Callable<T>,T> T |
CommandLine.call(Class<C> callableClass,
CommandLine.IFactory factory,
PrintStream out,
String... args) |
Deprecated.
|
static <C extends Callable<T>,T> T |
CommandLine.call(Class<C> callableClass,
CommandLine.IFactory factory,
PrintStream out,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static <C extends Callable<T>,T> T |
CommandLine.call(Class<C> callableClass,
CommandLine.IFactory factory,
String... args) |
Deprecated.
|
static CommandLine.Model.CommandSpec |
CommandLine.Model.CommandSpec.forAnnotatedObject(Object userObject,
CommandLine.IFactory factory) |
Creates and returns a new CommandSpec initialized from the specified associated user object.
|
static CommandLine.Model.CommandSpec |
CommandLine.Model.CommandSpec.forAnnotatedObjectLenient(Object userObject,
CommandLine.IFactory factory) |
Creates and returns a new CommandSpec initialized from the specified associated user object.
|
static <R extends Runnable> void |
CommandLine.run(Class<R> runnableClass,
CommandLine.IFactory factory,
PrintStream out,
PrintStream err,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static <R extends Runnable> void |
CommandLine.run(Class<R> runnableClass,
CommandLine.IFactory factory,
PrintStream out,
String... args) |
Deprecated.
|
static <R extends Runnable> void |
CommandLine.run(Class<R> runnableClass,
CommandLine.IFactory factory,
PrintStream out,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static <R extends Runnable> void |
CommandLine.run(Class<R> runnableClass,
CommandLine.IFactory factory,
String... args) |
Deprecated.
|
void |
CommandLine.Model.CommandSpec.updateCommandAttributes(CommandLine.Command cmd,
CommandLine.IFactory factory) |
Updates the following attributes from the specified @Command annotation:
aliases, parser separator , command name, version, help command,
version provider, default provider and usage message spec .
|