All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
Class |
Description |
AbstractCommandSpecProcessor |
Abstract annotation processor for @picocli.* annotations that produces a set of
CommandLine.Model.CommandSpec objects built from the annotated source code.
|
AnnotatedElementHolder |
|
Assert |
Utility class providing some defensive coding convenience methods.
|
AutoComplete |
Stand-alone tool that generates bash auto-complete scripts for picocli-based command line applications.
|
AutoComplete.GenerateCompletion |
Command that generates a Bash/ZSH completion script for its top-level command.
|
CommandLine |
CommandLine interpreter that uses reflection to initialize an annotated user object with values obtained from the
command line arguments.
|
CommandLine.AbstractHandler<R,T extends CommandLine.AbstractHandler<R,T>> |
Deprecated.
|
CommandLine.AbstractParseResultHandler<R> |
Deprecated.
|
CommandLine.ArgGroup |
A Command may define one or more ArgGroups : a group of options, positional parameters or a mixture of the two.
|
CommandLine.Command |
Annotate your class with @Command when you want more control over the format of the generated help
message.
|
CommandLine.DefaultExceptionHandler<R> |
Deprecated.
|
CommandLine.DuplicateNameException |
Exception indicating that multiple named elements have incorrectly used the same name.
|
CommandLine.DuplicateOptionAnnotationsException |
Exception indicating that multiple fields have been annotated with the same Option name.
|
CommandLine.ExecutionException |
Exception indicating a problem while invoking a command or subcommand.
|
CommandLine.ExitCode |
|
CommandLine.Help |
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 |
Provides methods and inner classes to support using ANSI escape codes in usage help messages.
|
CommandLine.Help.Ansi.IStyle |
Defines the interface for an ANSI escape sequence.
|
CommandLine.Help.Ansi.Style |
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.ColorScheme |
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.ColorScheme.Builder |
Builder class to create ColorScheme instances.
|
CommandLine.Help.Column |
Columns define the width, indent (leading number of spaces in a column before the value) and
Overflow policy of a column in a TextTable.
|
CommandLine.Help.Column.Overflow |
Policy for handling text that is longer than the column width:
span multiple columns, wrap to the next row, or simply truncate the portion that doesn't fit.
|
CommandLine.Help.IOptionRenderer |
When customizing online help for Option details, a custom IOptionRenderer can be
used to create textual representation of an Option in a tabular format: one or more rows, each containing
one or more columns.
|
CommandLine.Help.IParameterRenderer |
When customizing online help for positional parameters details, a custom IParameterRenderer
can be used to create textual representation of a Parameters field in a tabular format: one or more rows,
each containing one or more columns.
|
CommandLine.Help.IParamLabelRenderer |
When customizing online usage help for an option parameter or a positional parameter, a custom
IParamLabelRenderer can be used to render the parameter name or label to a String.
|
CommandLine.Help.Layout |
Use a Layout to format usage help text for options and parameters in tabular format.
|
CommandLine.Help.TextTable |
|
CommandLine.Help.TextTable.Cell |
Helper class to index positions in a Help.TextTable .
|
CommandLine.Help.Visibility |
Controls the visibility of certain aspects of the usage help message.
|
CommandLine.HelpCommand |
Help command that can be installed as a subcommand on all application commands.
|
CommandLine.IDefaultValueProvider |
Provides default value for a command.
|
CommandLine.IExceptionHandler |
Deprecated.
|
CommandLine.IExceptionHandler2<R> |
Deprecated.
|
CommandLine.IExecutionExceptionHandler |
Classes implementing this interface know how to handle Exceptions that occurred while executing the Runnable , Callable or Method user object of the command.
|
CommandLine.IExecutionStrategy |
Implementations are responsible for "executing" the user input and returning an exit code.
|
CommandLine.IExitCodeExceptionMapper |
Interface that provides the appropriate exit code that will be returned from the execute
method for an exception that occurred during parsing or while invoking the command's Runnable, Callable, or Method.
|
CommandLine.IExitCodeGenerator |
@Command -annotated classes can implement this interface to specify an exit code that will be returned
from the execute method when the command is successfully invoked.
|
CommandLine.IFactory |
|
CommandLine.IHelpCommandInitializable |
Deprecated.
|
CommandLine.IHelpCommandInitializable2 |
Help commands that provide usage help for other commands can implement this interface to be initialized with the information they need.
|
CommandLine.IHelpFactory |
|
CommandLine.IHelpSectionRenderer |
Renders a section of the usage help message.
|
CommandLine.IModelTransformer |
Provides a way to modify how the command model is built.
|
CommandLine.INegatableOptionTransformer |
Determines the option name transformation of negatable boolean options.
|
CommandLine.InitializationException |
Exception indicating a problem during CommandLine initialization.
|
CommandLine.IParameterConsumer |
Options or positional parameters can be assigned a IParameterConsumer that implements
custom logic to process the parameters for this option or this position.
|
CommandLine.IParameterExceptionHandler |
Classes implementing this interface know how to handle ParameterExceptions (usually from invalid user input).
|
CommandLine.IParameterPreprocessor |
Options, positional parameters and commands can be assigned a IParameterPreprocessor that
implements custom logic to preprocess the parameters for this option, position or command.
|
CommandLine.IParseResultHandler |
Deprecated.
|
CommandLine.IParseResultHandler2<R> |
Deprecated.
|
CommandLine.ITypeConverter<K> |
When parsing command line arguments and initializing
fields annotated with @Option or @Parameters ,
String values can be converted to any type for which a ITypeConverter is registered.
|
CommandLine.IVersionProvider |
Provides version information for a command.
|
CommandLine.MaxValuesExceededException |
Exception indicating that more values were specified for an option or parameter than its arity allows.
|
CommandLine.MissingParameterException |
Exception indicating that a required parameter was not specified.
|
CommandLine.MissingTypeConverterException |
|
CommandLine.Mixin |
Fields annotated with @Mixin are "expanded" into the current command: @Option and
@Parameters in the mixin class are added to the options and positional parameters of this command.
|
CommandLine.Model |
This class provides a namespace for classes and interfaces that model concepts and attributes of command line interfaces in picocli.
|
CommandLine.Model.ArgGroupSpec |
The ArgGroupSpec class models a group of arguments (options, positional parameters or a mixture of the two).
|
CommandLine.Model.ArgGroupSpec.Builder |
Builder responsible for creating valid ArgGroupSpec objects.
|
CommandLine.Model.ArgSpec |
|
CommandLine.Model.CommandSpec |
The CommandSpec class models a command specification, including the options, positional parameters and subcommands
supported by the command, as well as attributes for the version help message and the usage help message of the command.
|
CommandLine.Model.IAnnotatedElement |
Internal interface to allow annotation processors to construct a command model at compile time.
|
CommandLine.Model.IExtensible |
Interface to allow extending the capabilities of other interface without Java 8 default methods.
|
CommandLine.Model.IGetter |
Customizable getter for obtaining the current value of an option or positional parameter.
|
CommandLine.Model.IOrdered |
|
CommandLine.Model.IScope |
The scope of a getter/setter binding is the context where the current value should be gotten from or set to.
|
CommandLine.Model.IScoped |
|
CommandLine.Model.ISetter |
Customizable setter for modifying the value of an option or positional parameter.
|
CommandLine.Model.ITypeInfo |
Encapculates type information for an option or parameter to make this information available both at runtime
and at compile time (when Class values are not available).
|
CommandLine.Model.Messages |
Utility class for getting resource bundle strings.
|
CommandLine.Model.MethodParam |
Command method parameter, similar to java.lang.reflect.Parameter (not available before Java 8).
|
CommandLine.Model.OptionSpec |
The OptionSpec class models aspects of a named option of a command, including whether
it is required or optional, the option parameters supported (or required) by the option,
and attributes for the usage help message describing the option.
|
CommandLine.Model.OptionSpec.Builder |
Builder responsible for creating valid OptionSpec objects.
|
CommandLine.Model.ParserSpec |
Models parser configuration specification.
|
CommandLine.Model.PositionalParamSpec |
The PositionalParamSpec class models aspects of a positional parameter of a command, including whether
it is required or optional, and attributes for the usage help message describing the positional parameter.
|
CommandLine.Model.PositionalParamSpec.Builder |
Builder responsible for creating valid PositionalParamSpec objects.
|
CommandLine.Model.UnmatchedArgsBinding |
This class allows applications to specify a custom binding that will be invoked for unmatched arguments.
|
CommandLine.Model.UsageMessageSpec |
Models the usage help message specification and can be used to customize the usage help message.
|
CommandLine.MutuallyExclusiveArgsException |
Exception indicating that the user input included multiple arguments from a mutually exclusive group.
|
CommandLine.Option |
Annotate fields in your class with @Option and picocli will initialize these fields when matching
arguments are specified on the command line.
|
CommandLine.OverwrittenOptionException |
Exception indicating that an option for a single-value option field has been specified multiple times on the command line.
|
CommandLine.ParameterException |
Exception indicating something went wrong while parsing command line options.
|
CommandLine.ParameterIndexGapException |
|
CommandLine.Parameters |
Fields annotated with @Parameters will be initialized with positional parameters.
|
CommandLine.ParentCommand |
Fields annotated with @ParentCommand will be initialized with the parent command of the current subcommand.
|
CommandLine.ParseResult |
Encapsulates the result of parsing an array of command line arguments.
|
CommandLine.ParseResult.Builder |
Builds immutable ParseResult instances.
|
CommandLine.ParseResult.GroupMatch |
A group's multiplicity specifies how many matches of a group may
appear on the command line.
|
CommandLine.ParseResult.GroupMatchContainer |
|
CommandLine.PicocliException |
Base class of all exceptions thrown by picocli.CommandLine .
|
CommandLine.PropertiesDefaultProvider |
IDefaultValueProvider implementation that loads default values for command line
options and positional parameters from a properties file or Properties object.
|
CommandLine.Range |
Describes the number of parameters required and accepted by an option or a positional parameter.
|
CommandLine.RegexTransformer |
A regular expression-based option name transformation for negatable options.
|
CommandLine.RegexTransformer.Builder |
Builder for creating RegexTransformer objects.
|
CommandLine.RunAll |
Command line execution strategy that prints help if requested, and otherwise executes the top-level command and
all subcommands as Runnable , Callable or Method .
|
CommandLine.RunFirst |
Command line execution strategy that prints help if requested, and otherwise executes the top-level
Runnable or Callable command.
|
CommandLine.RunLast |
Command line execution strategy that prints help if requested, and otherwise executes the most specific
Runnable or Callable subcommand.
|
CommandLine.ScopeType |
Specifies the scope of the element.
|
CommandLine.Spec |
Fields annotated with @Spec will be initialized with the CommandSpec for the command the field is part of.
|
CommandLine.Spec.Target |
Identifies what kind of CommandSpec should be injected.
|
CommandLine.TraceLevel |
Enumerates over the trace level values for filtering which internal debug statements should be printed.
|
CommandLine.Tracer |
Utility class for printing internal debug statements.
|
CommandLine.TypeConversionException |
|
CommandLine.Unmatched |
Fields annotated with @Unmatched will be initialized with the list of unmatched command line arguments, if any.
|
CommandLine.UnmatchedArgumentException |
|
CommandLine.UseDefaultConverter |
Converter that can be used to signal to picocli that it should use the default converter.
|
DynamicProxyConfigGenerator |
DynamicProxyConfigGenerator generates a JSON String with the fully qualified interface names for which
dynamic proxy classes should be generated at native image build time.
|
ITypeMetaData |
Abstraction over annotation attributes that take a class (or array of classes) as their value.
|
JniConfigGenerator |
|
JulLogFormatter |
|
ManPageGenerator |
Generates AsciiDoc files in a special format that can be converted to HTML, PDF and Unix Man pages.
|
NativeImageConfigGeneratorProcessor |
|
PicocliAutoConfiguration |
|
PicocliBaseScript |
Deprecated.
|
PicocliBaseScript2 |
Base script class that provides picocli declarative (annotation-based) command line argument
processing for Groovy scripts, updated for picocli version 4 and greater.
|
PicocliCommands |
Compiles SystemCompleter for command completion and implements a method commandDescription() that provides command descriptions
for JLine TailTipWidgets to be displayed in terminal status bar.
|
PicocliCommands.ClearScreen |
Command that clears the screen.
|
PicocliCommands.PicocliCommandsFactory |
Command factory that is necessary for applications that want the use the ClearScreen subcommand.
|
PicocliJLineCompleter |
Implementation of the JLine 2 Completer interface that generates completion
candidates for the specified command line based on the CommandLine.Model.CommandSpec that
this PicocliJLineCompleter was constructed with.
|
PicocliJLineCompleter |
Implementation of the JLine 3 Completer interface that generates completion
candidates for the specified command line based on the CommandLine.Model.CommandSpec that
this PicocliJLineCompleter was constructed with.
|
PicocliScript |
Deprecated.
|
PicocliScript2 |
Annotation to give Groovy scripts convenient access to picocli functionality, updated for picocli version 4 and greater.
|
PicocliScriptASTTransformation |
|
PicocliSpringFactory |
PicocliSpringFactory is a CommandLine.IFactory implementation that
looks up classes in a given org.springframework.context.ApplicationContext .
|
ReflectionConfigGenerator |
ReflectionConfigGenerator generates a JSON String with the program elements that will be accessed
reflectively in a picocli-based application, in order to compile this application ahead-of-time into a native
executable with GraalVM.
|
ResourceConfigGenerator |
ResourceConfigGenerator generates a JSON String with the resource bundles and other classpath resources
that should be included in the Substrate VM native image.
|
Util |
|