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 java.util.concurrent.Callable<T>,T> T |
CommandLine.call(java.lang.Class<C> callableClass,
CommandLine.IFactory factory,
java.io.PrintStream out,
java.io.PrintStream err,
CommandLine.Help.Ansi ansi,
java.lang.String... args) |
Deprecated.
|
static <C extends java.util.concurrent.Callable<T>,T> T |
CommandLine.call(java.lang.Class<C> callableClass,
CommandLine.IFactory factory,
java.io.PrintStream out,
java.lang.String... args) |
Deprecated.
|
static <C extends java.util.concurrent.Callable<T>,T> T |
CommandLine.call(java.lang.Class<C> callableClass,
CommandLine.IFactory factory,
java.io.PrintStream out,
CommandLine.Help.Ansi ansi,
java.lang.String... args) |
Deprecated.
|
static <C extends java.util.concurrent.Callable<T>,T> T |
CommandLine.call(java.lang.Class<C> callableClass,
CommandLine.IFactory factory,
java.lang.String... args) |
Deprecated.
|
static CommandLine.Model.CommandSpec |
CommandLine.Model.CommandSpec.forAnnotatedObject(java.lang.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(java.lang.Object userObject,
CommandLine.IFactory factory) |
Creates and returns a new CommandSpec initialized from the specified associated user object.
|
static <R extends java.lang.Runnable> void |
CommandLine.run(java.lang.Class<R> runnableClass,
CommandLine.IFactory factory,
java.io.PrintStream out,
java.io.PrintStream err,
CommandLine.Help.Ansi ansi,
java.lang.String... args) |
Deprecated.
|
static <R extends java.lang.Runnable> void |
CommandLine.run(java.lang.Class<R> runnableClass,
CommandLine.IFactory factory,
java.io.PrintStream out,
java.lang.String... args) |
Deprecated.
|
static <R extends java.lang.Runnable> void |
CommandLine.run(java.lang.Class<R> runnableClass,
CommandLine.IFactory factory,
java.io.PrintStream out,
CommandLine.Help.Ansi ansi,
java.lang.String... args) |
Deprecated.
|
static <R extends java.lang.Runnable> void |
CommandLine.run(java.lang.Class<R> runnableClass,
CommandLine.IFactory factory,
java.lang.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 .
|
static CommandLine.Model.CommandSpec |
CommandLine.Model.CommandSpec.wrapWithoutInspection(java.lang.Object userObject,
CommandLine.IFactory factory) |
Creates and returns a new CommandSpec with the specified associated user object.
|