Uses of Package
org.apache.logging.log4j.core.tools.picocli
Packages that use org.apache.logging.log4j.core.tools.picocli
Package
Description
Log4j 1.x compatibility layer.
Log4j 2 command line tools.
-
Classes in org.apache.logging.log4j.core.tools.picocli used by org.apache.log4j.configClassDescriptionAnnotate your class with
@Command
when you want more control over the format of the generated help message.Annotate fields in your class with@Option
and picocli will initialize these fields when matching arguments are specified on the command line. -
Classes in org.apache.logging.log4j.core.tools.picocli used by org.apache.logging.log4j.core.toolsClassDescriptionAnnotate fields in your class with
@Option
and picocli will initialize these fields when matching arguments are specified on the command line. -
Classes in org.apache.logging.log4j.core.tools.picocli used by org.apache.logging.log4j.core.tools.picocliClassDescriptionCommandLine interpreter that uses reflection to initialize an annotated domain object with values obtained from the command line arguments.Exception indicating that multiple fields have been annotated with the same Option name.Exception indicating a problem while invoking a command or subcommand.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.Provides methods and inner classes to support using ANSI escape codes in usage help messages.Defines the interface for an ANSI escape sequence.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.Encapsulates rich text with styles and colors.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.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.When customizing online help for
Option
details, a customIOptionRenderer
can be used to create textual representation of an Option in a tabular format: one or more rows, each containing one or more columns.When customizing online help forParameters
details, a customIParameterRenderer
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.When customizing online usage help for an option parameter or a positional parameter, a customIParamLabelRenderer
can be used to render the parameter name or label to a String.Use a Layout to format usage help text for options and parameters in tabular format.SortsOption
instances by their name in case-insensitive alphabetic order.Responsible for spacing outCommandLine.Help.Ansi.Text
values according to theCommandLine.Help.Column
definitions the table was created with.Helper class to index positions in aHelp.TextTable
.Represents a function that can handle aParameterException
that occurred while parsing the command line arguments.Exception indicating a problem duringCommandLine
initialization.Helper class responsible for processing command line arguments.Represents a function that can process a List ofCommandLine
objects resulting from successfully parsing the command line arguments.When parsing command line arguments and initializing fields annotated with@Option
or@Parameters
, String values can be converted to any type for which aITypeConverter
is registered.Exception indicating that a required parameter was not specified.Annotate fields in your class with@Option
and picocli will initialize these fields when matching arguments are specified on the command line.Exception indicating something went wrong while parsing command line options.Fields annotated with@Parameters
will be initialized with positional parameters.Base class of all exceptions thrown bypicocli.CommandLine
.Describes the number of parameters required and accepted by an option or a positional parameter.