CommandLine.Help.ColorScheme.Builder |
CommandLine.Help.ColorScheme.Builder.ansi(CommandLine.Help.Ansi ansi) |
Set the Ansi setting of this color scheme builder.
|
static <C extends Callable<T>,T> T |
CommandLine.call(C callable,
PrintStream out,
PrintStream err,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static <C extends Callable<T>,T> T |
CommandLine.call(C callable,
PrintStream out,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
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,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static CommandLine.Help.ColorScheme |
CommandLine.Help.defaultColorScheme(CommandLine.Help.Ansi ansi) |
Creates and returns a new CommandLine.Help.ColorScheme initialized with picocli default values: commands are bold,
options and parameters use a yellow foreground, and option parameters use italic.
|
static CommandLine.Help.TextTable |
CommandLine.Help.TextTable.forColumns(CommandLine.Help.Ansi ansi,
CommandLine.Help.Column... columns) |
Deprecated.
|
static CommandLine.Help.TextTable |
CommandLine.Help.TextTable.forColumnWidths(CommandLine.Help.Ansi ansi,
int... columnWidths) |
Deprecated.
|
static CommandLine.Help.TextTable |
CommandLine.Help.TextTable.forDefaultColumns(CommandLine.Help.Ansi ansi,
int usageHelpWidth) |
Deprecated.
|
static CommandLine.Help.TextTable |
CommandLine.Help.TextTable.forDefaultColumns(CommandLine.Help.Ansi ansi,
int longOptionsColumnWidth,
int usageHelpWidth) |
Deprecated.
|
String |
CommandLine.getUsageMessage(CommandLine.Help.Ansi ansi) |
|
List<Object> |
CommandLine.DefaultExceptionHandler.handleException(CommandLine.ParameterException ex,
PrintStream out,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
List<Object> |
CommandLine.IExceptionHandler.handleException(CommandLine.ParameterException ex,
PrintStream out,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
Handles a ParameterException that occurred while parsing the command
line arguments and optionally returns a list of results.
|
List<Object> |
CommandLine.IParseResultHandler.handleParseResult(List<CommandLine> parsedCommands,
PrintStream out,
CommandLine.Help.Ansi ansi) |
Deprecated.
Processes a List of CommandLine objects resulting from successfully
parsing the command line arguments and optionally returns a list of results.
|
List<Object> |
CommandLine.RunAll.handleParseResult(List<CommandLine> parsedCommands,
PrintStream out,
CommandLine.Help.Ansi ansi) |
Prints help if requested, and otherwise executes the top-level command and all subcommands as Runnable ,
Callable or Method .
|
List<Object> |
CommandLine.RunFirst.handleParseResult(List<CommandLine> parsedCommands,
PrintStream out,
CommandLine.Help.Ansi ansi) |
Prints help if requested, and otherwise executes the top-level Runnable or Callable command.
|
List<Object> |
CommandLine.RunLast.handleParseResult(List<CommandLine> parsedCommands,
PrintStream out,
CommandLine.Help.Ansi ansi) |
Prints help if requested, and otherwise executes the most specific Runnable or Callable subcommand.
|
void |
CommandLine.HelpCommand.init(CommandLine helpCommandLine,
CommandLine.Help.Ansi ansi,
PrintStream out,
PrintStream err) |
Deprecated.
|
void |
CommandLine.IHelpCommandInitializable.init(CommandLine helpCommandLine,
CommandLine.Help.Ansi ansi,
PrintStream out,
PrintStream err) |
Deprecated.
|
static Object |
CommandLine.invoke(String methodName,
Class<?> cls,
PrintStream out,
PrintStream err,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static Object |
CommandLine.invoke(String methodName,
Class<?> cls,
PrintStream out,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static StringBuilder |
CommandLine.Help.join(CommandLine.Help.Ansi ansi,
int usageHelpWidth,
boolean adjustCJK,
String[] values,
StringBuilder sb,
Object... params) |
Formats each of the specified values and appends it to the specified StringBuilder.
|
static StringBuilder |
CommandLine.Help.join(CommandLine.Help.Ansi ansi,
int usageHelpWidth,
String[] values,
StringBuilder sb,
Object... params) |
Deprecated.
|
List<Object> |
CommandLine.parseWithHandlers(CommandLine.IParseResultHandler handler,
PrintStream out,
CommandLine.Help.Ansi ansi,
CommandLine.IExceptionHandler exceptionHandler,
String... args) |
Deprecated.
|
static boolean |
CommandLine.printHelpIfRequested(List<CommandLine> parsedCommands,
PrintStream out,
PrintStream err,
CommandLine.Help.Ansi ansi) |
Deprecated.
|
static boolean |
CommandLine.printHelpIfRequested(List<CommandLine> parsedCommands,
PrintStream out,
CommandLine.Help.Ansi ansi) |
Deprecated.
|
void |
CommandLine.printVersionHelp(PrintStream out,
CommandLine.Help.Ansi ansi) |
|
void |
CommandLine.printVersionHelp(PrintStream out,
CommandLine.Help.Ansi ansi,
Object... params) |
|
void |
CommandLine.printVersionHelp(PrintWriter out,
CommandLine.Help.Ansi ansi,
Object... params) |
|
CommandLine.Help.Ansi.Text |
CommandLine.Help.IParamLabelRenderer.renderParameterLabel(CommandLine.Model.ArgSpec argSpec,
CommandLine.Help.Ansi ansi,
List<CommandLine.Help.Ansi.IStyle> styles) |
Returns a text rendering of the option parameter or positional parameter; returns an empty string
"" if the option is a boolean and does not take a parameter.
|
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,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static <R extends Runnable> void |
CommandLine.run(R runnable,
PrintStream out,
PrintStream err,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
static <R extends Runnable> void |
CommandLine.run(R runnable,
PrintStream out,
CommandLine.Help.Ansi ansi,
String... args) |
Deprecated.
|
void |
CommandLine.usage(PrintStream out,
CommandLine.Help.Ansi ansi) |
|
void |
CommandLine.usage(PrintWriter writer,
CommandLine.Help.Ansi ansi) |
|
static void |
CommandLine.usage(Object command,
PrintStream out,
CommandLine.Help.Ansi ansi) |
Equivalent to new CommandLine(command).usage(out, ansi) .
|
T |
CommandLine.AbstractHandler.useAnsi(CommandLine.Help.Ansi ansi) |
Deprecated.
|