Deprecated.
-
+
-
clone() - Method in class picocli.CommandLine.Help.Ansi.Text
+
clone() - Method in class picocli.CommandLine.Help.Ansi.Text
-
colorScheme() - Method in class picocli.CommandLine.Help
+
colorScheme() - Method in class picocli.CommandLine.Help
Returns the ColorScheme
model that this Help was constructed with.
-
ColorScheme() - Constructor for class picocli.CommandLine.Help.ColorScheme
-
-
-
-
ColorScheme(CommandLine.Help.Ansi) - Constructor for class picocli.CommandLine.Help.ColorScheme
-
-Constructs a new ColorScheme with the specified Ansi enabled mode.
-
-
colorScheme - Variable in class picocli.CommandLine.Help.Layout
-
-
Column(int, int, CommandLine.Help.Column.Overflow) - Constructor for class picocli.CommandLine.Help.Column
+
colorScheme - Variable in class picocli.CommandLine.Help.Layout
-
column - Variable in class picocli.CommandLine.Help.TextTable.Cell
+
column - Variable in class picocli.CommandLine.Help.TextTable.Cell
Table column index (zero based).
-
columns - Variable in class picocli.CommandLine.Help.TextTable
+
columns - Variable in class picocli.CommandLine.Help.TextTable
The column definitions of this table.
-
columnValues - Variable in class picocli.CommandLine.Help.TextTable
+
columnValues - Variable in class picocli.CommandLine.Help.TextTable
The char[]
slots of the TextTable
to copy text values into.
-
COMMAND_LINE - Static variable in class picocli.groovy.PicocliBaseScript
+
COMMAND_LINE - Static variable in class picocli.groovy.PicocliBaseScript
Name of the property that holds the CommandLine instance for this script ("commandLine").
-
CommandLine - Class in picocli
+
CommandLine - Class in picocli
CommandLine interpreter that uses reflection to initialize an annotated domain object with values obtained from the
command line arguments.
-
CommandLine(Object) - Constructor for class picocli.CommandLine
+
CommandLine(Object) - Constructor for class picocli.CommandLine
-Constructs a new
CommandLine
interpreter with the specified object (which may be an annotated user object or a
CommandSpec
) and a default subcommand factory.
+Constructs a new
CommandLine
interpreter with the specified object (which may be an annotated user object or a
CommandSpec
) and a default subcommand factory.
-
CommandLine(Object, CommandLine.IFactory) - Constructor for class picocli.CommandLine
+
CommandLine(Object, CommandLine.IFactory) - Constructor for class picocli.CommandLine
-Constructs a new
CommandLine
interpreter with the specified object (which may be an annotated user object or a
CommandSpec
) and object factory.
+Constructs a new
CommandLine
interpreter with the specified object (which may be an annotated user object or a
CommandSpec
) and object factory.
-
commandLine() - Method in class picocli.CommandLine.Model.CommandSpec
+
commandLine() - Method in class picocli.CommandLine.Model.CommandSpec
Returns the CommandLine constructed with this CommandSpec
model.
-
commandLine(CommandLine) - Method in class picocli.CommandLine.Model.CommandSpec
+
commandLine(CommandLine) - Method in class picocli.CommandLine.Model.CommandSpec
Sets the CommandLine constructed with this CommandSpec
model.
-
CommandLine.AbstractHandler<R,T extends CommandLine.AbstractHandler<R,T>> - Class in picocli
+
CommandLine.AbstractHandler<R,T extends CommandLine.AbstractHandler<R,T>> - Class in picocli
-
+
-
CommandLine.AbstractParseResultHandler<R> - Class in picocli
+
CommandLine.AbstractHandler() - Constructor for class picocli.CommandLine.AbstractHandler
+
+
CommandLine.AbstractParseResultHandler<R> - Class in picocli
Command line parse result handler that returns a value.
-
CommandLine.AbstractSimpleParseResultHandler - Class in picocli
-
-Command line parse result handler that does not return a result.
-
-
CommandLine.Command - Annotation Type in picocli
+
CommandLine.AbstractParseResultHandler() - Constructor for class picocli.CommandLine.AbstractParseResultHandler
+
+
CommandLine.Command - Annotation Type in picocli
Annotate your class with @Command
when you want more control over the format of the generated help
message.
-
CommandLine.DefaultExceptionHandler<R> - Class in picocli
+
CommandLine.DefaultExceptionHandler<R> - Class in picocli
Default exception handler that handles invalid user input by printing the exception message, followed by the usage
message for the command or subcommand whose input was invalid.
-
CommandLine.DuplicateOptionAnnotationsException - Exception in picocli
+
CommandLine.DefaultExceptionHandler() - Constructor for class picocli.CommandLine.DefaultExceptionHandler
+
+
CommandLine.DuplicateOptionAnnotationsException - Exception in picocli
Exception indicating that multiple fields have been annotated with the same Option name.
-
CommandLine.ExecutionException - Exception in picocli
+
CommandLine.DuplicateOptionAnnotationsException(String) - Constructor for exception picocli.CommandLine.DuplicateOptionAnnotationsException
+
+
CommandLine.ExecutionException - Exception in picocli
Exception indicating a problem while invoking a command or subcommand.
-
CommandLine.Help - Class in picocli
+
CommandLine.ExecutionException(CommandLine, String) - Constructor for exception picocli.CommandLine.ExecutionException
+
+
CommandLine.ExecutionException(CommandLine, String, Exception) - Constructor for exception picocli.CommandLine.ExecutionException
+
+
CommandLine.Help - Class in picocli
A collection of methods and inner classes that provide fine-grained control over the contents and layout of
the usage help message to display to end users when help is requested or invalid input values were specified.
-
CommandLine.Help.Ansi - Enum in picocli
+
CommandLine.Help(Object) - Constructor for class picocli.CommandLine.Help
+
+Constructs a new Help
instance with a default color scheme, initialized from annotatations
+ on the specified class and superclasses.
+
+
CommandLine.Help(Object, CommandLine.Help.Ansi) - Constructor for class picocli.CommandLine.Help
+
+Constructs a new Help
instance with a default color scheme, initialized from annotatations
+ on the specified class and superclasses.
+
+
CommandLine.Help(Object, CommandLine.Help.ColorScheme) - Constructor for class picocli.CommandLine.Help
+
+Deprecated.
+
use picocli.CommandLine.Help#Help(picocli.CommandLine.Model.CommandSpec, picocli.CommandLine.Help.ColorScheme)
+
+
+
CommandLine.Help(CommandLine.Model.CommandSpec, CommandLine.Help.ColorScheme) - Constructor for class picocli.CommandLine.Help
+
+Constructs a new Help
instance with the specified color scheme, initialized from annotatations
+ on the specified class and superclasses.
+
+
CommandLine.Help.Ansi - Enum in picocli
Provides methods and inner classes to support using ANSI escape codes in usage help messages.
-
CommandLine.Help.Ansi.IStyle - Interface in picocli
+
CommandLine.Help.Ansi.IStyle - Interface in picocli
Defines the interface for an ANSI escape sequence.
-
CommandLine.Help.Ansi.Style - Enum in picocli
+
CommandLine.Help.Ansi.Style - Enum in picocli
A set of pre-defined ANSI escape code styles and colors, and a set of convenience methods for parsing
text with embedded markup style names, as well as convenience methods for converting
styles to strings with embedded escape codes.
-
CommandLine.Help.Ansi.Text - Class in picocli
+
CommandLine.Help.Ansi.Text - Class in picocli
Encapsulates rich text with styles and colors.
-
CommandLine.Help.ColorScheme - Class in picocli
+
CommandLine.Help.Ansi.Text(int) - Constructor for class picocli.CommandLine.Help.Ansi.Text
+
+Constructs a Text with the specified max length (for use in a TextTable Column).
+
+
CommandLine.Help.Ansi.Text(String) - Constructor for class picocli.CommandLine.Help.Ansi.Text
+
+Constructs a Text with the specified String, which may contain markup like
+ @|bg(red),white,underline some text|@
.
+
+
CommandLine.Help.ColorScheme - Class in picocli
All usage help message are generated with a color scheme that assigns certain styles and colors to common
parts of a usage message: the command name, options, positional parameters and option parameters.
-
CommandLine.Help.Column - Class in picocli
+
CommandLine.Help.ColorScheme() - Constructor for class picocli.CommandLine.Help.ColorScheme
+
+
+
+
CommandLine.Help.ColorScheme(CommandLine.Help.Ansi) - Constructor for class picocli.CommandLine.Help.ColorScheme
+
+Constructs a new ColorScheme with the specified Ansi enabled mode.
+
+
CommandLine.Help.Column - Class in picocli
Columns define the width, indent (leading number of spaces in a column before the value) and
-
Overflow policy of a column in a
TextTable.
+ Overflow policy of a column in a TextTable.