A B C D E F G H I J L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abbreviatedSynopsis() - Method in class picocli.CommandLine.Help
-
Generates a generic synopsis like
<command name> [OPTIONS] [PARAM1 [PARAM2]...], omitting parts that don't apply to the command (e.g., does not show [OPTIONS] if the command has no options). - abbreviateSynopsis() - Method in annotation type picocli.CommandLine.Command
-
Specify
trueto generate an abbreviated synopsis like"<main> [OPTIONS] [PARAMETERS...]". - abbreviateSynopsis() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns whether the synopsis line(s) should show an abbreviated synopsis without detailed option names.
- abbreviateSynopsis(boolean) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets whether the synopsis line(s) should show an abbreviated synopsis without detailed option names.
- AbstractHandler() - Constructor for class picocli.CommandLine.AbstractHandler
- AbstractParseResultHandler() - Constructor for class picocli.CommandLine.AbstractParseResultHandler
- add(Log) - Method in class com.github.jy2.logs.console.model.Level
- add(Log) - Method in class com.github.jy2.logs.console.model.Model
- add(Log) - Method in class com.github.jy2.logs.console.model.Node
- add(Log) - Method in class com.github.jy2.logs.console.model.Place
- add(CommandLine.Model.ArgSpec) - Method in class picocli.CommandLine.Model.CommandSpec
-
Adds the specified option spec or positional parameter spec to the list of configured arguments to expect.
- add(CommandLine.Model.ArgSpec, int) - Method in class picocli.CommandLine.ParseResult.Builder
-
Adds the specified
OptionSpecorPositionalParamSpecto the list of options and parameters that were matched on the command line. - add(T) - Method in class com.github.jy2.logs.console.collections.LimitedList
- addAllSubcommands(Map<String, CommandLine>) - Method in class picocli.CommandLine.Help
-
Registers all specified subcommands with this Help.
- addEmptyRow() - Method in class picocli.CommandLine.Help.TextTable
-
Adds the required
char[]slots for a new row to theCommandLine.Help.TextTable.columnValuesfield. - addError(CommandLine.PicocliException) - Method in class picocli.CommandLine.ParseResult.Builder
- addMethodSubcommands() - Method in annotation type picocli.CommandLine.Command
-
Specify whether methods annotated with
@Commandshould be registered as subcommands of their enclosing@Commandclass. - addMethodSubcommands() - Method in class picocli.CommandLine.Model.CommandSpec
-
Reflects on the class of the user object and registers any command methods (class methods annotated with
@Command) as subcommands. - addMethodSubcommands(CommandLine.IFactory) - Method in class picocli.CommandLine.Model.CommandSpec
-
Reflects on the class of the user object and registers any command methods (class methods annotated with
@Command) as subcommands. - addMixin(String, Object) - Method in class picocli.CommandLine
-
Adds the options and positional parameters in the specified mixin to this command.
- addMixin(String, CommandLine.Model.CommandSpec) - Method in class picocli.CommandLine.Model.CommandSpec
-
Adds the specified mixin
CommandSpecobject to the map of mixins for this command. - addOption(CommandLine.Model.OptionSpec) - Method in class picocli.CommandLine.Model.CommandSpec
-
Adds the specified option spec to the list of configured arguments to expect.
- addOption(CommandLine.Model.OptionSpec) - Method in class picocli.CommandLine.ParseResult.Builder
-
Adds the specified
OptionSpecto the list of options that were matched on the command line. - addOption(CommandLine.Model.OptionSpec, CommandLine.Help.IParamLabelRenderer) - Method in class picocli.CommandLine.Help.Layout
-
Delegates to the
option rendererof this layout to obtain text values for the specifiedCommandLine.Model.OptionSpec, and then calls theCommandLine.Help.Layout.layout(CommandLine.Model.ArgSpec, CommandLine.Help.Ansi.Text[][])method to write these text values into the correct cells in the TextTable. - addOptions(List<CommandLine.Model.OptionSpec>, CommandLine.Help.IParamLabelRenderer) - Method in class picocli.CommandLine.Help.Layout
-
Calls
CommandLine.Help.Layout.addOption(CommandLine.Model.OptionSpec, CommandLine.Help.IParamLabelRenderer)for all non-hidden Options in the list. - addPositional(CommandLine.Model.PositionalParamSpec) - Method in class picocli.CommandLine.Model.CommandSpec
-
Adds the specified positional parameter spec to the list of configured arguments to expect.
- addPositionalParam(CommandLine.Model.PositionalParamSpec, int) - Method in class picocli.CommandLine.ParseResult.Builder
-
Adds the specified
PositionalParamSpecto the list of parameters that were matched on the command line. - addPositionalParameter(CommandLine.Model.PositionalParamSpec, CommandLine.Help.IParamLabelRenderer) - Method in class picocli.CommandLine.Help.Layout
-
Delegates to the
parameter rendererof this layout to obtain text values for the specified positional parameter, and then callsCommandLine.Help.Layout.layout(CommandLine.Model.ArgSpec, CommandLine.Help.Ansi.Text[][])to write these text values into the correct cells in the TextTable. - addPositionalParameters(List<CommandLine.Model.PositionalParamSpec>, CommandLine.Help.IParamLabelRenderer) - Method in class picocli.CommandLine.Help.Layout
-
Calls
CommandLine.Help.Layout.addPositionalParameter(CommandLine.Model.PositionalParamSpec, CommandLine.Help.IParamLabelRenderer)for all non-hidden Parameters in the list. - addRowValues(String...) - Method in class picocli.CommandLine.Help.TextTable
- addRowValues(CommandLine.Help.Ansi.Text...) - Method in class picocli.CommandLine.Help.TextTable
- addSubcommand(String, Object) - Method in class picocli.CommandLine
-
Registers a subcommand with the specified name.
- addSubcommand(String, Object) - Method in class picocli.CommandLine.Help
-
Deprecated.
- addSubcommand(String, Object, String...) - Method in class picocli.CommandLine
-
Registers a subcommand with the specified name and all specified aliases.
- addSubcommand(String, CommandLine) - Method in class picocli.CommandLine.Model.CommandSpec
-
Adds the specified subcommand with the specified name.
- addSubcommand(String, CommandLine.Model.CommandSpec) - Method in class picocli.CommandLine.Model.CommandSpec
-
Adds the specified subcommand with the specified name.
- addUnmatched(String) - Method in class picocli.CommandLine.ParseResult.Builder
-
Adds the specified command line argument to the list of unmatched command line arguments.
- addUnmatched(Stack<String>) - Method in class picocli.CommandLine.ParseResult.Builder
-
Adds all elements of the specified command line arguments stack to the list of unmatched command line arguments.
- addUnmatchedArgsBinding(CommandLine.Model.UnmatchedArgsBinding) - Method in class picocli.CommandLine.Model.CommandSpec
-
Adds the specified
UnmatchedArgsBindingto the list of model objects to capture unmatched arguments for this command. - aliases() - Method in annotation type picocli.CommandLine.Command
-
Alternative command names by which this subcommand is recognized on the command line.
- aliases() - Method in class picocli.CommandLine.Help
-
Returns the list of aliases for the command in this Help.
- aliases() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the alias command names of this subcommand.
- aliases(String...) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets the alternative names by which this subcommand is recognized on the command line.
- ALWAYS - picocli.CommandLine.Help.Visibility
- andExit(int) - Method in class picocli.CommandLine.AbstractHandler
-
Indicates that the handler should call
System.exit(int)after processing completes and sets the exit code to use as the termination status. - ansi() - Method in class picocli.CommandLine.AbstractHandler
-
Returns the ANSI style to use.
- ansi() - Method in class picocli.CommandLine.Help
-
Returns whether ANSI escape codes are enabled or not.
- ansi() - Method in class picocli.CommandLine.Help.ColorScheme
- append(String) - Method in class picocli.CommandLine.Help.Ansi.Text
-
Deprecated.use
CommandLine.Help.Ansi.Text.concat(String)instead - append(CommandLine.Help.Ansi.Text) - Method in class picocli.CommandLine.Help.Ansi.Text
-
Deprecated.use
CommandLine.Help.Ansi.Text.concat(Text)instead - apply(String, List<CommandLine.Help.Ansi.IStyle>) - Method in enum picocli.CommandLine.Help.Ansi
-
Returns a new Text object where all the specified styles are applied to the full length of the specified plain text.
- applySystemProperties() - Method in class picocli.CommandLine.Help.ColorScheme
-
Replaces colors and styles in this scheme with ones specified in system properties, and returns this scheme.
- argIndex - Static variable in class picocli.AutoComplete
- args() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the list of all options and positional parameters configured for this command.
- arity() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns how many arguments this option or positional parameter requires.
- arity() - Method in annotation type picocli.CommandLine.Option
-
Specifies the minimum number of required parameters and the maximum number of accepted parameters.
- arity() - Method in annotation type picocli.CommandLine.Parameters
-
Specifies the minimum number of required parameters and the maximum number of accepted parameters.
- aritySatisfiedByAttachedOptionParam() - Method in class picocli.CommandLine.Model.ParserSpec
-
Returns true if options with attached arguments should not consume subsequent arguments and should not validate arity.
- aritySatisfiedByAttachedOptionParam(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
-
Returns true if options with attached arguments should not consume subsequent arguments and should not validate arity.
- asCommandLineList() - Method in class picocli.CommandLine.ParseResult
-
Returns this
ParseResultas a list ofCommandLineobjects, one for each matched command/subcommand. - atFileCommentChar() - Method in class picocli.CommandLine.Model.ParserSpec
- atFileCommentChar(Character) - Method in class picocli.CommandLine.Model.ParserSpec
- AUTO - picocli.CommandLine.Help.Ansi
-
Only emit ANSI escape codes if the platform supports it and system property
"picocli.ansi"is not set to any value other than"true"(case insensitive). - AutoComplete - Class in picocli
-
Stand-alone tool that generates bash auto-complete scripts for picocli-based command line applications.
- auxiliaryTypes() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns auxiliary type information used when the
CommandLine.Model.ArgSpec.type()is a genericCollection,Mapor an abstract class.
B
- bash(String, File, File, CommandLine) - Static method in class picocli.AutoComplete
-
Generates source code for an autocompletion bash script for the specified picocli-based application, and writes this script to the specified
outfile, and optionally writes an invocation script to the specifiedcommandfile. - bash(String, CommandLine) - Static method in class picocli.AutoComplete
-
Generates and returns the source code for an autocompletion bash script for the specified picocli-based application.
- bg(String) - Static method in enum picocli.CommandLine.Help.Ansi.Style
-
Parses the specified style markup and returns the associated style.
- bg_black - picocli.CommandLine.Help.Ansi.Style
- bg_blue - picocli.CommandLine.Help.Ansi.Style
- bg_cyan - picocli.CommandLine.Help.Ansi.Style
- bg_green - picocli.CommandLine.Help.Ansi.Style
- bg_magenta - picocli.CommandLine.Help.Ansi.Style
- bg_red - picocli.CommandLine.Help.Ansi.Style
- bg_white - picocli.CommandLine.Help.Ansi.Style
- bg_yellow - picocli.CommandLine.Help.Ansi.Style
- blink - picocli.CommandLine.Help.Ansi.Style
- bold - picocli.CommandLine.Help.Ansi.Style
- build() - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Returns a valid
OptionSpecinstance. - build() - Method in class picocli.CommandLine.Model.PositionalParamSpec.Builder
-
Returns a valid
PositionalParamSpecinstance. - build() - Method in class picocli.CommandLine.ParseResult.Builder
-
Creates and returns a new
ParseResultinstance for this builder's configuration. - builder() - Static method in class picocli.CommandLine.Model.PositionalParamSpec
- builder(String[]) - Static method in class picocli.CommandLine.Model.OptionSpec
- builder(String, String...) - Static method in class picocli.CommandLine.Model.OptionSpec
- builder(CommandLine.Model.CommandSpec) - Static method in class picocli.CommandLine.ParseResult
-
Creates and returns a new
ParseResult.Builderfor the specified command spec.
C
- call(C, PrintStream, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Convenience method to allow command line application authors to avoid some boilerplate code in their application.
- call(C, PrintStream, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.call(Callable, PrintStream, PrintStream, Help.Ansi, String...)withSystem.errfor diagnostic error messages andCommandLine.Help.Ansi.AUTO. - call(C, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.call(Callable, PrintStream, PrintStream, Help.Ansi, String...)withSystem.errfor diagnostic error messages. - call(C, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.call(Callable, PrintStream, PrintStream, Help.Ansi, String...)withSystem.outfor requested usage help messages,System.errfor diagnostic error messages, andCommandLine.Help.Ansi.AUTO. - call(Class<C>, CommandLine.IFactory, PrintStream, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Convenience method to allow command line application authors to avoid some boilerplate code in their application.
- call(Class<C>, CommandLine.IFactory, PrintStream, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.call(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)withSystem.errfor diagnostic error messages, andCommandLine.Help.Ansi.AUTO. - call(Class<C>, CommandLine.IFactory, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.call(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)withSystem.errfor diagnostic error messages. - call(Class<C>, CommandLine.IFactory, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.call(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)withSystem.outfor requested usage help messages,System.errfor diagnostic error messages, andCommandLine.Help.Ansi.AUTO. - caseInsensitiveEnumValuesAllowed() - Method in class picocli.CommandLine.Model.ParserSpec
- caseInsensitiveEnumValuesAllowed(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- Cell(int, int) - Constructor for class picocli.CommandLine.Help.TextTable.Cell
-
Constructs a new Cell with the specified coordinates in the table.
- cellAt(int, int) - Method in class picocli.CommandLine.Help.TextTable
-
Deprecated.use
CommandLine.Help.TextTable.textAt(int, int)instead - ClassListCompletionCandidates - Class in com.github.jy2.commandline.picocli.log.completion
- ClassListCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.log.completion.ClassListCompletionCandidates
- ClassNameCompletionCandidates - Class in com.github.jy2.commandline.picocli.param.completion
- ClassNameCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.param.completion.ClassNameCompletionCandidates
- clear() - Method in class com.github.jy2.logs.console.model.Model
- clone() - Method in class picocli.CommandLine.Help.Ansi.Text
- collectErrors() - Method in class picocli.CommandLine.Model.ParserSpec
-
Returns true if exceptions during parsing should be collected instead of thrown.
- collectErrors(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
-
Sets whether exceptions during parsing should be collected instead of thrown.
- colorScheme - Variable in class picocli.CommandLine.Help.Layout
- colorScheme() - Method in class picocli.CommandLine.Help
-
Returns the
ColorSchememodel that this Help was constructed with. - ColorScheme() - Constructor for class picocli.CommandLine.Help.ColorScheme
-
Constructs a new empty ColorScheme with
CommandLine.Help.Ansi.AUTO. - ColorScheme(CommandLine.Help.Ansi) - Constructor for class picocli.CommandLine.Help.ColorScheme
-
Constructs a new empty ColorScheme with the specified Ansi enabled mode.
- column - Variable in class picocli.CommandLine.Help.TextTable.Cell
-
Table column index (zero based).
- Column(int, int, CommandLine.Help.Column.Overflow) - Constructor for class picocli.CommandLine.Help.Column
- columns() - Method in class picocli.CommandLine.Help.TextTable
-
The column definitions of this table.
- columnValues - Variable in class picocli.CommandLine.Help.TextTable
-
The
char[]slots of theTextTableto copy text values into. - com.github.jy2.commandline.common - package com.github.jy2.commandline.common
- com.github.jy2.commandline.picocli - package com.github.jy2.commandline.picocli
- com.github.jy2.commandline.picocli.log - package com.github.jy2.commandline.picocli.log
- com.github.jy2.commandline.picocli.log.completion - package com.github.jy2.commandline.picocli.log.completion
- com.github.jy2.commandline.picocli.member - package com.github.jy2.commandline.picocli.member
- com.github.jy2.commandline.picocli.member.completion - package com.github.jy2.commandline.picocli.member.completion
- com.github.jy2.commandline.picocli.node - package com.github.jy2.commandline.picocli.node
- com.github.jy2.commandline.picocli.node.completion - package com.github.jy2.commandline.picocli.node.completion
- com.github.jy2.commandline.picocli.param - package com.github.jy2.commandline.picocli.param
- com.github.jy2.commandline.picocli.param.completion - package com.github.jy2.commandline.picocli.param.completion
- com.github.jy2.commandline.picocli.tf - package com.github.jy2.commandline.picocli.tf
- com.github.jy2.commandline.picocli.tf.completion - package com.github.jy2.commandline.picocli.tf.completion
- com.github.jy2.commandline.picocli.tf.format - package com.github.jy2.commandline.picocli.tf.format
- com.github.jy2.commandline.picocli.topic - package com.github.jy2.commandline.picocli.topic
- com.github.jy2.commandline.picocli.topic.completion - package com.github.jy2.commandline.picocli.topic.completion
- com.github.jy2.logs.console.collections - package com.github.jy2.logs.console.collections
- com.github.jy2.logs.console.collector - package com.github.jy2.logs.console.collector
- com.github.jy2.logs.console.model - package com.github.jy2.logs.console.model
- com.github.jy2.logs.console.test - package com.github.jy2.logs.console.test
- com.github.jy2.logs.console.utils - package com.github.jy2.logs.console.utils
- commandLine() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the CommandLine constructed with this
CommandSpecmodel. - commandLine(CommandLine) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets the CommandLine constructed with this
CommandSpecmodel. - 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
-
Constructs a new
CommandLineinterpreter with the specified object (which may be an annotated user object or aCommandSpec) and a default subcommand factory. - CommandLine(Object, CommandLine.IFactory) - Constructor for class picocli.CommandLine
-
Constructs a new
CommandLineinterpreter with the specified object (which may be an annotated user object or aCommandSpec) and object factory. - CommandLine.AbstractHandler<R,T extends CommandLine.AbstractHandler<R,T>> - Class in picocli
-
Abstract superclass for
CommandLine.IParseResultHandler2andCommandLine.IExceptionHandler2implementations. - CommandLine.AbstractParseResultHandler<R> - Class in picocli
-
Command line parse result handler that returns a value.
- CommandLine.Command - Annotation Type in picocli
-
Annotate your class with
@Commandwhen you want more control over the format of the generated help message. - 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
-
Exception indicating that multiple fields have been annotated with the same Option name.
- CommandLine.ExecutionException - Exception in picocli
-
Exception indicating a problem while invoking a command or subcommand.
- 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
-
Provides methods and inner classes to support using ANSI escape codes in usage help messages.
- CommandLine.Help.Ansi.IStyle - Interface in picocli
-
Defines the interface for an ANSI escape sequence.
- 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
-
Encapsulates rich text with styles and colors.
- 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.Column.Overflow - Enum in picocli
-
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 - Interface in picocli
-
When customizing online help for
Optiondetails, a customIOptionRenderercan 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 - Interface in picocli
-
When customizing online help for positional parameters details, a custom
IParameterRenderercan 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 - Interface in picocli
-
When customizing online usage help for an option parameter or a positional parameter, a custom
IParamLabelRenderercan be used to render the parameter name or label to a String. - CommandLine.Help.Layout - Class in picocli
-
Use a Layout to format usage help text for options and parameters in tabular format.
- CommandLine.Help.TextTable - Class in picocli
-
Responsible for spacing out
CommandLine.Help.Ansi.Textvalues according to theCommandLine.Help.Columndefinitions the table was created with. - CommandLine.Help.TextTable.Cell - Class in picocli
-
Helper class to index positions in a
Help.TextTable. - CommandLine.Help.Visibility - Enum in picocli
-
Controls the visibility of certain aspects of the usage help message.
- CommandLine.HelpCommand - Class in picocli
-
Help command that can be installed as a subcommand on all application commands.
- CommandLine.IDefaultValueProvider - Interface in picocli
-
Provides default value for a command.
- CommandLine.IExceptionHandler - Interface in picocli
-
Deprecated.Use
CommandLine.IExceptionHandler2instead. - CommandLine.IExceptionHandler2<R> - Interface in picocli
-
Classes implementing this interface know how to handle
ParameterExceptions(usually from invalid user input) andExecutionExceptionsthat occurred while executing theRunnableorCallablecommand. - CommandLine.IFactory - Interface in picocli
-
Factory for instantiating classes that are registered declaratively with annotation attributes, like
CommandLine.Command.subcommands(),CommandLine.Option.converter(),CommandLine.Parameters.converter()andCommandLine.Command.versionProvider(). - CommandLine.IHelpCommandInitializable - Interface in picocli
-
Help commands that provide usage help for other commands can implement this interface to be initialized with the information they need.
- CommandLine.IHelpFactory - Interface in picocli
-
Creates the
CommandLine.Helpinstance used to render the usage help message. - CommandLine.IHelpSectionRenderer - Interface in picocli
-
Renders a section of the usage help message.
- CommandLine.InitializationException - Exception in picocli
-
Exception indicating a problem during
CommandLineinitialization. - CommandLine.IParseResultHandler - Interface in picocli
-
Deprecated.Use
CommandLine.IParseResultHandler2instead. - CommandLine.IParseResultHandler2<R> - Interface in picocli
-
Represents a function that can process the
ParseResultobject resulting from successfully parsing the command line arguments. - CommandLine.ITypeConverter<K> - Interface in picocli
-
When parsing command line arguments and initializing fields annotated with
@Optionor@Parameters, String values can be converted to any type for which aITypeConverteris registered. - CommandLine.IVersionProvider - Interface in picocli
-
Provides version information for a command.
- CommandLine.MaxValuesExceededException - Exception in picocli
-
Exception indicating that more values were specified for an option or parameter than its
arityallows. - CommandLine.MissingParameterException - Exception in picocli
-
Exception indicating that a required parameter was not specified.
- CommandLine.MissingTypeConverterException - Exception in picocli
-
Exception indicating that an annotated field had a type for which no
CommandLine.ITypeConverterwas registered. - CommandLine.Mixin - Annotation Type in picocli
-
Fields annotated with
@Mixinare "expanded" into the current command:@Optionand@Parametersin the mixin class are added to the options and positional parameters of this command. - CommandLine.Model - Class in picocli
-
This class provides a namespace for classes and interfaces that model concepts and attributes of command line interfaces in picocli.
- CommandLine.Model.ArgSpec - Class in picocli
-
Models the shared attributes of
CommandLine.Model.OptionSpecandCommandLine.Model.PositionalParamSpec. - CommandLine.Model.CommandSpec - Class in picocli
-
The
CommandSpecclass 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.IGetter - Interface in picocli
-
Customizable getter for obtaining the current value of an option or positional parameter.
- CommandLine.Model.ISetter - Interface in picocli
-
Customizable setter for modifying the value of an option or positional parameter.
- CommandLine.Model.Messages - Class in picocli
-
Utility class for getting resource bundle strings.
- CommandLine.Model.OptionSpec - Class in picocli
-
The
OptionSpecclass 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 - Class in picocli
-
Builder responsible for creating valid
OptionSpecobjects. - CommandLine.Model.ParserSpec - Class in picocli
-
Models parser configuration specification.
- CommandLine.Model.PositionalParamSpec - Class in picocli
-
The
PositionalParamSpecclass 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 - Class in picocli
-
Builder responsible for creating valid
PositionalParamSpecobjects. - CommandLine.Model.UnmatchedArgsBinding - Class in picocli
-
This class allows applications to specify a custom binding that will be invoked for unmatched arguments.
- CommandLine.Model.UsageMessageSpec - Class in picocli
-
Models the usage help message specification and can be used to customize the usage help message.
- CommandLine.Option - Annotation Type in picocli
-
Annotate fields in your class with
@Optionand picocli will initialize these fields when matching arguments are specified on the command line. - CommandLine.OverwrittenOptionException - Exception in picocli
-
Exception indicating that an option for a single-value option field has been specified multiple times on the command line.
- CommandLine.ParameterException - Exception in picocli
-
Exception indicating something went wrong while parsing command line options.
- CommandLine.ParameterIndexGapException - Exception in picocli
-
Exception indicating that there was a gap in the indices of the fields annotated with
CommandLine.Parameters. - CommandLine.Parameters - Annotation Type in picocli
-
Fields annotated with
@Parameterswill be initialized with positional parameters. - CommandLine.ParentCommand - Annotation Type in picocli
-
Fields annotated with
@ParentCommandwill be initialized with the parent command of the current subcommand. - CommandLine.ParseResult - Class in picocli
-
Encapsulates the result of parsing an array of command line arguments.
- CommandLine.ParseResult.Builder - Class in picocli
-
Builds immutable
ParseResultinstances. - CommandLine.PicocliException - Exception in picocli
-
Base class of all exceptions thrown by
picocli.CommandLine. - CommandLine.Range - Class in picocli
-
Describes the number of parameters required and accepted by an option or a positional parameter.
- CommandLine.RunAll - Class in picocli
-
Command line parse result handler that prints help if requested, and otherwise executes the top-level command and all subcommands as
RunnableorCallable. - CommandLine.RunFirst - Class in picocli
-
Command line parse result handler that prints help if requested, and otherwise executes the top-level
RunnableorCallablecommand. - CommandLine.RunLast - Class in picocli
-
Command line parse result handler that prints help if requested, and otherwise executes the most specific
RunnableorCallablesubcommand. - CommandLine.Spec - Annotation Type in picocli
-
Fields annotated with
@Specwill be initialized with theCommandSpecfor the command the field is part of. - CommandLine.TypeConversionException - Exception in picocli
-
Exception thrown by
CommandLine.ITypeConverterimplementations to indicate a String could not be converted. - CommandLine.Unmatched - Annotation Type in picocli
-
Fields annotated with
@Unmatchedwill be initialized with the list of unmatched command line arguments, if any. - CommandLine.UnmatchedArgumentException - Exception in picocli
-
Exception indicating that a command line argument could not be mapped to any of the fields annotated with
CommandLine.OptionorCommandLine.Parameters. - commandList() - Method in class picocli.CommandLine.Help
-
Returns a 2-column list with command names and the first line of their header or (if absent) description.
- commandListHeading() - Method in annotation type picocli.CommandLine.Command
-
Set the heading preceding the subcommands list.
- commandListHeading() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional heading preceding the subcommand list.
- commandListHeading(Object...) - Method in class picocli.CommandLine.Help
-
Returns the text displayed before the command list; an empty string if there are no commands, otherwise the result of
String.format(commandListHeading, params). - commandListHeading(String) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the optional heading preceding the subcommand list.
- commandNamesText(String) - Method in class picocli.CommandLine.Help
-
Returns a
Textobject containing the command name and all aliases, separated with the specified separator. - commands(CommandLine.Help.Ansi.IStyle...) - Method in class picocli.CommandLine.Help.ColorScheme
-
Adds the specified styles to the registered styles for commands in this color scheme and returns this color scheme.
- commandSpec() - Method in class picocli.CommandLine.Help
-
Returns the
CommandSpecmodel that this Help was constructed with. - commandSpec() - Method in class picocli.CommandLine.Model.Messages
-
Returns the CommandSpec of this object, never
null. - commandSpec() - Method in class picocli.CommandLine.ParseResult
-
Returns the
CommandSpecfor the matched command. - commandStyles - Variable in class picocli.CommandLine.Help.ColorScheme
- commandText(String) - Method in class picocli.CommandLine.Help.ColorScheme
-
Returns a Text with all command styles applied to the specified command string.
- compareTo(Level) - Method in class com.github.jy2.logs.console.model.Level
- compareTo(Node) - Method in class com.github.jy2.logs.console.model.Node
- compareTo(Place) - Method in class com.github.jy2.logs.console.model.Place
- compareTo(CommandLine.Range) - Method in class picocli.CommandLine.Range
- complete(LineReader, ParsedLine, List<Candidate>) - Method in class picocli.shell.jline3.PicocliJLineCompleter
-
Populates candidates with a list of possible completions for the command line.
- complete(CommandLine.Model.CommandSpec, String[], int, int, int, List<CharSequence>) - Static method in class picocli.AutoComplete
- completionCandidates() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the explicitly set completion candidates for this option or positional parameter, valid enum constant names, or
nullif this option or positional parameter does not have any completion candidates and its type is not an enum. - completionCandidates() - Method in annotation type picocli.CommandLine.Option
-
Use this attribute to specify an
Iterable<String>class that generates completion candidates for this option. - completionCandidates() - Method in annotation type picocli.CommandLine.Parameters
-
Use this attribute to specify an
Iterable<String>class that generates completion candidates for this positional parameter. - concat(String) - Method in class picocli.CommandLine.Help.Ansi.Text
-
Returns a copy of this
Textinstance with the specified text concatenated to the end. - concat(CommandLine.Help.Ansi.Text) - Method in class picocli.CommandLine.Help.Ansi.Text
-
Returns a copy of this
Textinstance with the specified text concatenated to the end. - contains(int) - Method in class picocli.CommandLine.Range
-
Returns
trueif this Range includes the specified value,falseotherwise. - convert(String) - Method in interface picocli.CommandLine.ITypeConverter
-
Converts the specified command line argument value to some domain object.
- converter() - Method in annotation type picocli.CommandLine.Option
-
Optionally specify one or more
CommandLine.ITypeConverterclasses to use to convert the command line argument into a strongly typed value (or key-value pair for map fields). - converter() - Method in annotation type picocli.CommandLine.Parameters
-
Optionally specify one or more
CommandLine.ITypeConverterclasses to use to convert the command line argument into a strongly typed value (or key-value pair for map fields). - converters() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns one or more
type convertersto use to convert the command line argument into a strongly typed value (or key-value pair for map fields). - copy(CommandLine.Model.CommandSpec, CommandLine.Model.Messages) - Static method in class picocli.CommandLine.Model.Messages
-
Returns a copy of the specified Messages object with the CommandSpec replaced by the specified one.
- create() - Static method in class picocli.CommandLine.Model.CommandSpec
-
Creates and returns a new
CommandSpecwithout any associated user object. - create(Class<K>) - Method in interface picocli.CommandLine.IFactory
-
Returns an instance of the specified class.
- create(CommandLine.Model.CommandSpec, CommandLine.Help.ColorScheme) - Method in interface picocli.CommandLine.IHelpFactory
-
Returns a
Helpinstance to assist in rendering the usage help message - createDefaultLayout() - Method in class picocli.CommandLine.Help
-
Returns a
Layoutinstance configured with the user preferences captured in this Help instance. - createDefaultOptionRenderer() - Method in class picocli.CommandLine.Help
- createDefaultParameterRenderer() - Method in class picocli.CommandLine.Help
-
Returns a new default ParameterRenderer which converts positional parameters to four columns of text to match the default TextTable column layout.
- createDefaultParamLabelRenderer() - Method in class picocli.CommandLine.Help
-
Returns a new default param label renderer that separates option parameters from their option name with the specified separator string, and, unless
CommandLine.Model.ArgSpec.hideParamSyntax()is true, surrounds optional parameters with'['and']'characters and uses ellipses ("...") to indicate that any number of a parameter are allowed. - createDetailedSynopsisCommandText() - Method in class picocli.CommandLine.Help
-
Returns a Text object containing a partial detailed synopsis showing only the subcommands, starting with a
" "space. - createDetailedSynopsisOptionsText(Comparator<CommandLine.Model.OptionSpec>, boolean) - Method in class picocli.CommandLine.Help
-
Returns a Text object containing a partial detailed synopsis showing only the options, starting with a
" "space. - createDetailedSynopsisPositionalsText() - Method in class picocli.CommandLine.Help
-
Returns a Text object containing a partial detailed synopsis showing only the positional parameters, starting with a
" "space. - createMinimalOptionRenderer() - Static method in class picocli.CommandLine.Help
-
Returns a new minimal OptionRenderer which converts
Optionsto a single row with two columns of text: an option name and a description. - createMinimalParameterRenderer() - Static method in class picocli.CommandLine.Help
-
Returns a new minimal ParameterRenderer which converts positional parameters to a single row with two columns of text: an option name and a description.
- createMinimalParamLabelRenderer() - Static method in class picocli.CommandLine.Help
-
Returns a value renderer that returns the
paramLabelif defined or the field name otherwise. - createShortOptionArityAndNameComparator() - Static method in class picocli.CommandLine.Help
- createShortOptionNameComparator() - Static method in class picocli.CommandLine.Help
-
Sorts
OptionSpecsby their option name in case-insensitive alphabetic order. - CSI - Static variable in interface picocli.CommandLine.Help.Ansi.IStyle
-
The Control Sequence Introducer (CSI) escape sequence "\u001b[".
- customSynopsis() - Method in annotation type picocli.CommandLine.Command
-
Specify one or more custom synopsis lines to display instead of an auto-generated synopsis.
- customSynopsis() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional custom synopsis lines to use instead of the auto-generated synopsis.
- customSynopsis(Object...) - Method in class picocli.CommandLine.Help
-
Returns command custom synopsis as a string.
- customSynopsis(String...) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the optional custom synopsis lines to use instead of the auto-generated synopsis.
D
- DEBUG - com.github.jy2.logs.console.utils.LogLevel
- DEFAULT_COMMAND_NAME - Static variable in class picocli.CommandLine.Help
-
Constant String holding the default program name, value defined in
CommandLine.Model.CommandSpec.DEFAULT_COMMAND_NAME. - DEFAULT_SEPARATOR - Static variable in class picocli.CommandLine.Help
-
Constant String holding the default string that separates options from option parameters, value defined in
CommandLine.Model.ParserSpec.DEFAULT_SEPARATOR. - DEFAULT_USAGE_WIDTH - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
-
Constant holding the default usage message width:
80. - defaultArity(Class<?>) - Static method in class picocli.CommandLine.Range
-
Deprecated.use
CommandLine.Range.defaultArity(Field)instead - defaultArity(Field) - Static method in class picocli.CommandLine.Range
-
Returns the default arity
Range: for interactive options/positional parameters, this is 0; foroptionsthis is 0 for booleans and 1 for other types, forparametersbooleans have arity 0, arrays or Collections have arity "0..*", and other types have arity 1. - defaultColorScheme(CommandLine.Help.Ansi) - Static method in class picocli.CommandLine.Help
-
Creates and returns a new
CommandLine.Help.ColorSchemeinitialized with picocli default values: commands are bold, options and parameters use a yellow foreground, and option parameters use italic. - defaultExceptionHandler() - Static method in class picocli.CommandLine
-
Convenience method that returns
new DefaultExceptionHandler<List<Object>>(). - DefaultExceptionHandler() - Constructor for class picocli.CommandLine.DefaultExceptionHandler
- defaultValue() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the default value of this option or positional parameter, before splitting and type conversion.
- defaultValue() - Method in annotation type picocli.CommandLine.Option
-
Returns the default value of this option, before splitting and type conversion.
- defaultValue() - Method in annotation type picocli.CommandLine.Parameters
-
Returns the default value of this positional parameter, before splitting and type conversion.
- defaultValue(CommandLine.Model.ArgSpec) - Method in interface picocli.CommandLine.IDefaultValueProvider
-
Returns the default value for an option or positional parameter or
null. - defaultValueProvider() - Method in annotation type picocli.CommandLine.Command
-
Class that can provide default values dynamically at runtime.
- defaultValueProvider() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the default value provider for this command.
- defaultValueProvider(CommandLine.IDefaultValueProvider) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets default value provider for this command.
- defaultValueString() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the default value String displayed in the description.
- description() - Method in annotation type picocli.CommandLine.Command
-
Optional text to display between the synopsis line(s) and the list of options.
- description() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the description template of this option, before variables are rendered.
- description() - Method in class picocli.CommandLine.Model.OptionSpec
-
Returns the description template of this option, before variables are rendered.
- description() - Method in class picocli.CommandLine.Model.PositionalParamSpec
-
Returns the description template of this positional parameter, before variables are rendered.
- description() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional text lines to use as the description of the help message, displayed between the synopsis and the options list.
- description() - Method in annotation type picocli.CommandLine.Option
-
Description of this option, used when generating the usage documentation.
- description() - Method in annotation type picocli.CommandLine.Parameters
-
Description of the parameter(s), used when generating the usage documentation.
- description(Object...) - Method in class picocli.CommandLine.Help
-
Returns command description text as a string.
- description(String...) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the optional text lines to use as the description of the help message, displayed between the synopsis and the options list.
- descriptionHeading() - Method in annotation type picocli.CommandLine.Command
-
Set the heading preceding the description section.
- descriptionHeading() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional heading preceding the description section.
- descriptionHeading(Object...) - Method in class picocli.CommandLine.Help
-
Returns the text displayed before the description text; an empty string if there is no description, otherwise the result of
String.format(descriptionHeading, params). - descriptionHeading(String) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the heading preceding the description section.
- descriptionKey() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the description key of this arg spec, used to get the description from a resource bundle.
- descriptionKey() - Method in annotation type picocli.CommandLine.Option
-
ResourceBundle key for this option.
- descriptionKey() - Method in annotation type picocli.CommandLine.Parameters
-
ResourceBundle key for this option.
- deserialize(Class<?>, String) - Method in class com.github.jy2.commandline.common.Deserializer
- deserializer - Static variable in class com.github.jy2.commandline.picocli.Main
- Deserializer - Class in com.github.jy2.commandline.common
- Deserializer() - Constructor for class com.github.jy2.commandline.common.Deserializer
- detailedSynopsis(int, Comparator<CommandLine.Model.OptionSpec>, boolean) - Method in class picocli.CommandLine.Help
-
Generates a detailed synopsis message showing all options and parameters.
- detailedSynopsis(Comparator<CommandLine.Model.OptionSpec>, boolean) - Method in class picocli.CommandLine.Help
-
Deprecated.
- di - Static variable in class com.github.jy2.commandline.picocli.Main
- display(Model, boolean, int) - Static method in class com.github.jy2.logs.console.utils.DisplayUtils
- DisplayUtils - Class in com.github.jy2.logs.console.utils
- DisplayUtils() - Constructor for class com.github.jy2.logs.console.utils.DisplayUtils
- DuplicateOptionAnnotationsException(String) - Constructor for exception picocli.CommandLine.DuplicateOptionAnnotationsException
E
- empty(CommandLine.Model.Messages) - Static method in class picocli.CommandLine.Model.Messages
-
Returns
trueif the specifiedMessagesisnullor has anull ResourceBundle. - enabled() - Method in enum picocli.CommandLine.Help.Ansi
-
Returns
trueif ANSI escape codes should be emitted,falseotherwise. - endOfOptionsDelimiter() - Method in class picocli.CommandLine.Model.ParserSpec
- endOfOptionsDelimiter(String) - Method in class picocli.CommandLine.Model.ParserSpec
- entries - Variable in class com.github.jy2.logs.console.model.Place
- equals(Object) - Method in class picocli.CommandLine.Help.Ansi.Text
- equals(Object) - Method in class picocli.CommandLine.Model.OptionSpec
- equals(Object) - Method in class picocli.CommandLine.Model.PositionalParamSpec
- equals(Object) - Method in class picocli.CommandLine.Range
- equalsImpl(CommandLine.Model.ArgSpec) - Method in class picocli.CommandLine.Model.ArgSpec
- err() - Method in class picocli.CommandLine.AbstractHandler
-
Returns the stream to print diagnostic messages to.
- ERROR - com.github.jy2.logs.console.utils.LogLevel
- errors() - Method in class picocli.CommandLine.ParseResult
-
If
CommandLine.Model.ParserSpec.collectErrorsistrue, returns the list of exceptions that were encountered during parsing, otherwise, returns an empty list. - eulerToQuaternion(Vector3d, Quat4d) - Static method in class com.github.jy2.commandline.picocli.tf.format.QuaternionUtils
- eulerToQuaternion2(Vector3d, Quat4d) - Static method in class com.github.jy2.commandline.picocli.tf.format.QuaternionUtils
- ExecutionException(CommandLine, String) - Constructor for exception picocli.CommandLine.ExecutionException
- ExecutionException(CommandLine, String, Throwable) - Constructor for exception picocli.CommandLine.ExecutionException
- exit(int) - Method in class picocli.CommandLine.AbstractHandler
-
Calls
System.exit(int)with the specified exit code. - EXIT_CODE_COMMAND_SCRIPT_EXISTS - Static variable in class picocli.AutoComplete
-
Exit code of this application when the specified command script exists (2).
- EXIT_CODE_COMPLETION_SCRIPT_EXISTS - Static variable in class picocli.AutoComplete
-
Exit code of this application when the specified completion script exists (3).
- EXIT_CODE_EXECUTION_ERROR - Static variable in class picocli.AutoComplete
-
Exit code of this application when an exception was encountered during operation (4).
- EXIT_CODE_INVALID_INPUT - Static variable in class picocli.AutoComplete
-
Exit code of this application when the specified command line arguments are invalid (1).
- EXIT_CODE_SUCCESS - Static variable in class picocli.AutoComplete
-
Normal exit code of this application (0).
- exitCode() - Method in class picocli.CommandLine.AbstractHandler
-
Returns the exit code to use as the termination status, or
null(the default) if the handler should not callSystem.exit(int)after processing completes. - expandAtFiles() - Method in class picocli.CommandLine.Model.ParserSpec
- expandAtFiles(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
F
- faint - picocli.CommandLine.Help.Ansi.Style
- FATAL - com.github.jy2.logs.console.utils.LogLevel
- fg(String) - Static method in enum picocli.CommandLine.Help.Ansi.Style
-
Parses the specified style markup and returns the associated style.
- fg_black - picocli.CommandLine.Help.Ansi.Style
- fg_blue - picocli.CommandLine.Help.Ansi.Style
- fg_cyan - picocli.CommandLine.Help.Ansi.Style
- fg_green - picocli.CommandLine.Help.Ansi.Style
- fg_magenta - picocli.CommandLine.Help.Ansi.Style
- fg_red - picocli.CommandLine.Help.Ansi.Style
- fg_white - picocli.CommandLine.Help.Ansi.Style
- fg_yellow - picocli.CommandLine.Help.Ansi.Style
- file - Variable in class com.github.jy2.logs.console.model.Place
- findOption(char) - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the option with the specified short name, or
nullif no option with that name is defined for this command. - findOption(String) - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the option with the specified name, or
nullif no option with that name is defined for this command. - footer() - Method in annotation type picocli.CommandLine.Command
-
Optional text to display after the list of options.
- footer() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional footer text lines displayed at the bottom of the help message.
- footer(Object...) - Method in class picocli.CommandLine.Help
-
Returns command footer text as a string.
- footer(String...) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the optional footer text lines displayed at the bottom of the help message.
- footerHeading() - Method in annotation type picocli.CommandLine.Command
-
Set the heading preceding the footer section.
- footerHeading() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional heading preceding the footer section.
- footerHeading(Object...) - Method in class picocli.CommandLine.Help
-
Returns the text displayed before the footer text; the result of
String.format(footerHeading, params). - footerHeading(String) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the optional heading preceding the footer section.
- forAnnotatedObject(Object) - Static method in class picocli.CommandLine.Model.CommandSpec
-
Creates and returns a new
CommandSpecinitialized from the specified associated user object. - forAnnotatedObject(Object, CommandLine.IFactory) - Static method in class picocli.CommandLine.Model.CommandSpec
-
Creates and returns a new
CommandSpecinitialized from the specified associated user object. - forAnnotatedObjectLenient(Object) - Static method in class picocli.CommandLine.Model.CommandSpec
-
Creates and returns a new
CommandSpecinitialized from the specified associated user object. - forAnnotatedObjectLenient(Object, CommandLine.IFactory) - Static method in class picocli.CommandLine.Model.CommandSpec
-
Creates and returns a new
CommandSpecinitialized from the specified associated user object. - forColumns(CommandLine.Help.Ansi, CommandLine.Help.Column...) - Static method in class picocli.CommandLine.Help.TextTable
-
Constructs a
TextTablewith the specified columns. - forColumnWidths(CommandLine.Help.Ansi, int...) - Static method in class picocli.CommandLine.Help.TextTable
-
Constructs a new TextTable with columns with the specified width, all SPANning multiple columns on overflow except the last column which WRAPS to the next row.
- forDefaultColumns(CommandLine.Help.Ansi, int) - Static method in class picocli.CommandLine.Help.TextTable
-
Constructs a TextTable with five columns as follows: required option/parameter marker (width: 2, indent: 0, TRUNCATE on overflow) short option name (width: 2, indent: 0, TRUNCATE on overflow) comma separator (width: 1, indent: 0, TRUNCATE on overflow) long option name(s) (width: 24, indent: 1, SPAN multiple columns on overflow) description line(s) (width: 51, indent: 1, WRAP to next row on overflow)
- forDefaultColumns(CommandLine.Help.Ansi, int, int) - Static method in class picocli.CommandLine.Help.TextTable
-
Constructs a TextTable with five columns as follows: required option/parameter marker (width: 2, indent: 0, TRUNCATE on overflow) short option name (width: 2, indent: 0, TRUNCATE on overflow) comma separator (width: 1, indent: 0, TRUNCATE on overflow) long option name(s) (width: 24, indent: 1, SPAN multiple columns on overflow) description line(s) (width: 51, indent: 1, WRAP to next row on overflow)
- forStringArrayConsumer(CommandLine.Model.ISetter) - Static method in class picocli.CommandLine.Model.UnmatchedArgsBinding
-
Creates a
UnmatchedArgsBindingfor a setter that consumesString[]objects. - forStringCollectionSupplier(CommandLine.Model.IGetter) - Static method in class picocli.CommandLine.Model.UnmatchedArgsBinding
-
Creates a
UnmatchedArgsBindingfor a getter that produces aCollection<String>that the unmatched arguments can be added to. - fromRosLevel(byte) - Static method in class com.github.jy2.logs.console.utils.LogLevelUtils
G
- get() - Method in interface picocli.CommandLine.Model.IGetter
-
Returns the current value of the binding.
- get(int) - Method in class com.github.jy2.logs.console.collections.LimitedList
- getArgSpec() - Method in exception picocli.CommandLine.ParameterException
-
Returns the
ArgSpecobject for the (sub)command whose input could not be parsed. - getAtFileCommentChar() - Method in class picocli.CommandLine
-
Returns the character that starts a single-line comment or
nullif all content of argument files should be interpreted as arguments (without comments). - getCommand() - Method in class picocli.CommandLine
-
Returns the annotated user object that this
CommandLineinstance was constructed with. - getCommandLine() - Method in exception picocli.CommandLine.ExecutionException
-
Returns the
CommandLineobject for the (sub)command that could not be invoked. - getCommandLine() - Method in exception picocli.CommandLine.ParameterException
-
Returns the
CommandLineobject for the (sub)command whose input could not be parsed. - getCommandMethods(Class<?>, String) - Static method in class picocli.CommandLine
-
Helper to get methods of a class annotated with
@Commandvia reflection, optionally filtered by method name (not@Command.name). - getCommandName() - Method in class picocli.CommandLine
-
Returns the command name (also called program name) displayed in the usage help synopsis.
- getCommandSpec() - Method in class picocli.CommandLine
-
Returns the
CommandSpecmodel that thisCommandLinewas constructed with. - getDefaultValueProvider() - Method in class picocli.CommandLine
-
Returns the default value provider for the command, or
nullif none has been set. - getEndOfOptionsDelimiter() - Method in class picocli.CommandLine
-
Returns the end-of-options delimiter that signals that the remaining command line arguments should be treated as positional parameters.
- getEntries(ArrayList<Log>) - Method in class com.github.jy2.logs.console.model.Place
- getEntry(int) - Method in class com.github.jy2.logs.console.model.Place
- getHelpFactory() - Method in class picocli.CommandLine
-
Returns the
IHelpFactorythat is used to construct the usage help message. - getHelpSectionKeys() - Method in class picocli.CommandLine
-
Returns the section keys in the order that the usage help message should render the sections.
- getHelpSectionMap() - Method in class picocli.CommandLine
-
Returns the map of section keys and renderers used to construct the usage help message.
- getLevel(int) - Method in class com.github.jy2.logs.console.model.Node
- getLocalNetworkInterfaces() - Method in class com.github.jy2.commandline.picocli.member.MemberKilllocalCommand
- getMissing() - Method in exception picocli.CommandLine.MissingParameterException
- getMixins() - Method in class picocli.CommandLine
-
Returns a map of user objects whose options and positional parameters were added to ("mixed in" with) this command.
- getNode(int) - Method in class com.github.jy2.logs.console.model.Model
- getNumEntries() - Method in class com.github.jy2.logs.console.model.Place
- getNumLevels() - Method in class com.github.jy2.logs.console.model.Node
- getNumNodes() - Method in class com.github.jy2.logs.console.model.Model
- getNumPlaces() - Method in class com.github.jy2.logs.console.model.Level
- getOverwritten() - Method in exception picocli.CommandLine.OverwrittenOptionException
-
Returns the
CommandLine.Model.ArgSpecfor the option which was being overwritten. - getParent() - Method in class picocli.CommandLine
-
Returns the command that this is a subcommand of, or
nullif this is a top-level command. - getParseResult() - Method in class picocli.CommandLine
- getPlace(int) - Method in class com.github.jy2.logs.console.model.Level
- getResourceBundle() - Method in class picocli.CommandLine
-
Returns the ResourceBundle of this command or
nullif no resource bundle is set. - getSeparator() - Method in class picocli.CommandLine
-
Returns the String that separates option names from option values when parsing command line options.
- getString(String, String) - Method in class picocli.CommandLine.Model.Messages
-
Returns the String value found in the resource bundle for the specified key, or the specified default value if not found.
- getStringArray(String, String[]) - Method in class picocli.CommandLine.Model.Messages
-
Returns the String array value found in the resource bundle for the specified key, or the specified default value if not found.
- getStyledChars(int, int, CommandLine.Help.Ansi.Text, int) - Method in class picocli.CommandLine.Help.Ansi.Text
-
Copies the specified substring of this Text into the specified destination, preserving the markup.
- getSubcommands() - Method in class picocli.CommandLine
-
Returns a map with the subcommands registered on this instance.
- getSuggestions() - Method in exception picocli.CommandLine.UnmatchedArgumentException
-
Returns suggested solutions if such solutions exist, otherwise returns an empty list.
- getter() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the
CommandLine.Model.IGetterthat is responsible for supplying the value of this argument. - getter() - Method in class picocli.CommandLine.Model.UnmatchedArgsBinding
-
Returns the getter responsible for producing a
Collectionthat the unmatched arguments can be added to. - getUnmatched() - Method in exception picocli.CommandLine.UnmatchedArgumentException
-
Returns the unmatched command line arguments.
- getUnmatchedArguments() - Method in class picocli.CommandLine
-
Returns the list of unmatched command line arguments, if any.
- getUsageHelpWidth() - Method in class picocli.CommandLine
-
Returns the maximum width of the usage help message.
- getUsageMessage() - Method in class picocli.CommandLine
-
Similar to
CommandLine.usage(PrintStream), but returns the usage help message as a String instead of printing it to thePrintStream. - getUsageMessage(CommandLine.Help.Ansi) - Method in class picocli.CommandLine
-
Similar to
CommandLine.usage(PrintStream, Help.Ansi), but returns the usage help message as a String instead of printing it to thePrintStream. - getUsageMessage(CommandLine.Help.ColorScheme) - Method in class picocli.CommandLine
-
Similar to
CommandLine.usage(PrintStream, Help.ColorScheme), but returns the usage help message as a String instead of printing it to thePrintStream. - getValue() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the current value of this argument.
- getValue() - Method in exception picocli.CommandLine.ParameterException
-
Returns the
Stringvalue for the (sub)command whose input could not be parsed. - getVersion() - Method in interface picocli.CommandLine.IVersionProvider
-
Returns version information for a command.
H
- handle(CommandLine.ParseResult) - Method in class picocli.CommandLine.AbstractParseResultHandler
-
Processes the specified
ParseResultand returns the result as a list of objects. - handle(CommandLine.ParseResult) - Method in class picocli.CommandLine.RunAll
-
Executes the top-level command and all subcommands as
RunnableorCallable. - handle(CommandLine.ParseResult) - Method in class picocli.CommandLine.RunFirst
-
Executes the top-level
RunnableorCallablesubcommand. - handle(CommandLine.ParseResult) - Method in class picocli.CommandLine.RunLast
-
Executes the most specific
RunnableorCallablesubcommand. - handleException(CommandLine.ParameterException, PrintStream, CommandLine.Help.Ansi, String...) - Method in class picocli.CommandLine.DefaultExceptionHandler
- handleException(CommandLine.ParameterException, PrintStream, CommandLine.Help.Ansi, String...) - Method in interface picocli.CommandLine.IExceptionHandler
-
Deprecated.Handles a
ParameterExceptionthat occurred while parsing the command line arguments and optionally returns a list of results. - handleExecutionException(CommandLine.ExecutionException, CommandLine.ParseResult) - Method in class picocli.CommandLine.DefaultExceptionHandler
-
This implementation always simply rethrows the specified exception.
- handleExecutionException(CommandLine.ExecutionException, CommandLine.ParseResult) - Method in interface picocli.CommandLine.IExceptionHandler2
-
Handles a
ExecutionExceptionthat occurred while executing theRunnableorCallablecommand and optionally returns a list of results. - handleLog(Log) - Method in class com.github.jy2.logs.console.collector.LogCollector
- handleParseException(CommandLine.ParameterException, String[]) - Method in class picocli.CommandLine.DefaultExceptionHandler
-
Prints the message of the specified exception, followed by the usage message for the command or subcommand whose input was invalid, to the stream returned by
CommandLine.AbstractHandler.err(). - handleParseException(CommandLine.ParameterException, String[]) - Method in interface picocli.CommandLine.IExceptionHandler2
-
Handles a
ParameterExceptionthat occurred while parsing the command line arguments and optionally returns a list of results. - handleParseResult(List<CommandLine>, PrintStream, CommandLine.Help.Ansi) - Method in interface picocli.CommandLine.IParseResultHandler
-
Deprecated.Processes a List of
CommandLineobjects resulting from successfully parsing the command line arguments and optionally returns a list of results. - handleParseResult(List<CommandLine>, PrintStream, CommandLine.Help.Ansi) - Method in class picocli.CommandLine.RunAll
-
Prints help if requested, and otherwise executes the top-level command and all subcommands as
RunnableorCallable. - handleParseResult(List<CommandLine>, PrintStream, CommandLine.Help.Ansi) - Method in class picocli.CommandLine.RunFirst
-
Prints help if requested, and otherwise executes the top-level
RunnableorCallablecommand. - handleParseResult(List<CommandLine>, PrintStream, CommandLine.Help.Ansi) - Method in class picocli.CommandLine.RunLast
-
Prints help if requested, and otherwise executes the most specific
RunnableorCallablesubcommand. - handleParseResult(CommandLine.ParseResult) - Method in class picocli.CommandLine.AbstractParseResultHandler
-
Prints help if requested, and otherwise calls
CommandLine.AbstractParseResultHandler.handle(CommandLine.ParseResult). - handleParseResult(CommandLine.ParseResult) - Method in interface picocli.CommandLine.IParseResultHandler2
-
Processes the
ParseResultobject resulting from successfully parsing the command line arguments and returns a return value. - hasExitCode() - Method in class picocli.CommandLine.AbstractHandler
-
Returns
trueif an exit code was set withCommandLine.AbstractHandler.andExit(int), orfalse(the default) if the handler should not callSystem.exit(int)after processing completes. - hashCode() - Method in class picocli.CommandLine.Help.Ansi.Text
- hashCode() - Method in class picocli.CommandLine.Model.OptionSpec
- hashCode() - Method in class picocli.CommandLine.Model.PositionalParamSpec
- hashCode() - Method in class picocli.CommandLine.Range
- hashCodeImpl() - Method in class picocli.CommandLine.Model.ArgSpec
- hasInitialValue() - Method in class picocli.CommandLine.Model.ArgSpec
-
Determines whether the option or positional parameter will be reset to the
CommandLine.Model.ArgSpec.initialValue()before parsing new input. - hasMatchedOption(char) - Method in class picocli.CommandLine.ParseResult
-
Returns whether an option whose aliases include the specified short name was matched on the command line.
- hasMatchedOption(String) - Method in class picocli.CommandLine.ParseResult
-
Returns whether an option whose aliases include the specified name was matched on the command line.
- hasMatchedOption(CommandLine.Model.OptionSpec) - Method in class picocli.CommandLine.ParseResult
-
Returns whether the specified option was matched on the command line.
- hasMatchedPositional(int) - Method in class picocli.CommandLine.ParseResult
-
Returns whether a positional parameter was matched at the specified position.
- hasMatchedPositional(CommandLine.Model.PositionalParamSpec) - Method in class picocli.CommandLine.ParseResult
-
Returns whether the specified positional parameter was matched on the command line.
- hasSubcommand() - Method in class picocli.CommandLine.ParseResult
-
Returns
trueif a subcommand was matched on the command line,falseotherwise. - header() - Method in annotation type picocli.CommandLine.Command
-
Optional summary description of the command, shown before the synopsis.
- header() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional header lines displayed at the top of the help message.
- header(Object...) - Method in class picocli.CommandLine.Help
-
Returns the command header text as a string.
- header(String...) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the optional header lines displayed at the top of the help message.
- headerHeading() - Method in annotation type picocli.CommandLine.Command
-
Set the heading preceding the header section.
- headerHeading() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional heading preceding the header section.
- headerHeading(Object...) - Method in class picocli.CommandLine.Help
-
Returns the text displayed before the header text; the result of
String.format(headerHeading, params). - headerHeading(String) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the heading preceding the header section.
- help() - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Deprecated.
- help() - Method in class picocli.CommandLine.Model.OptionSpec
-
Deprecated.
- help() - Method in annotation type picocli.CommandLine.Option
-
Deprecated.
- help(boolean) - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Sets whether this option disables validation of the other arguments, and returns this builder.
- Help(Object) - Constructor for class picocli.CommandLine.Help
-
Constructs a new
Helpinstance with a default color scheme, initialized from annotatations on the specified class and superclasses. - Help(Object, CommandLine.Help.Ansi) - Constructor for class picocli.CommandLine.Help
-
Constructs a new
Helpinstance with a default color scheme, initialized from annotatations on the specified class and superclasses. - Help(Object, CommandLine.Help.ColorScheme) - Constructor for class picocli.CommandLine.Help
- Help(CommandLine.Model.CommandSpec, CommandLine.Help.ColorScheme) - Constructor for class picocli.CommandLine.Help
-
Constructs a new
Helpinstance with the specified color scheme, initialized from annotatations on the specified class and superclasses. - helpCommand() - Method in annotation type picocli.CommandLine.Command
-
Set this attribute to
trueif this subcommand is a help command, and required options and positional parameters of the parent command should not be validated. - helpCommand() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns whether this subcommand is a help command, and required options and positional parameters of the parent command should not be validated.
- helpCommand(boolean) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets whether this is a help command and required parameter checking should be suspended.
- HelpCommand() - Constructor for class picocli.CommandLine.HelpCommand
- helpFactory() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the
IHelpFactorythat is used to construct the usage help message. - helpFactory(CommandLine.IHelpFactory) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets a new
IHelpFactoryto customize the usage help message. - hidden() - Method in annotation type picocli.CommandLine.Command
-
Set
hidden=trueif this command should not be included in the list of commands in the usage help of the parent command. - hidden() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns whether this option should be excluded from the usage message.
- hidden() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns whether this command should be hidden from the usage help message of the parent command.
- hidden() - Method in annotation type picocli.CommandLine.Option
-
Set
hidden=trueif this option should not be included in the usage help message. - hidden() - Method in annotation type picocli.CommandLine.Parameters
-
Set
hidden=trueif this parameter should not be included in the usage message. - hidden(boolean) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Set the hidden flag on this command to control whether to show or hide it in the help usage text of the parent command.
- hideParamSyntax() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns whether usage syntax decorations around the paramLabel should be suppressed.
- hideParamSyntax() - Method in annotation type picocli.CommandLine.Option
-
Returns whether usage syntax decorations around the paramLabel should be suppressed.
- hideParamSyntax() - Method in annotation type picocli.CommandLine.Parameters
-
Returns whether usage syntax decorations around the paramLabel should be suppressed.
- HzCommand - Class in com.github.jy2.commandline.picocli
- HzCommand() - Constructor for class com.github.jy2.commandline.picocli.HzCommand
I
- indent - Variable in class picocli.CommandLine.Help.Column
-
Indent (number of empty spaces at the start of the column preceding the text value)
- indentWrappedLines - Variable in class picocli.CommandLine.Help.TextTable
-
By default, indent wrapped lines by 2 spaces.
- index() - Method in class picocli.CommandLine.Model.PositionalParamSpec.Builder
-
Returns an index or range specifying which of the command line arguments should be assigned to this positional parameter.
- index() - Method in class picocli.CommandLine.Model.PositionalParamSpec
-
Returns an index or range specifying which of the command line arguments should be assigned to this positional parameter.
- index() - Method in annotation type picocli.CommandLine.Parameters
-
Specify an index ("0", or "1", etc.) to pick which of the command line arguments should be assigned to this field.
- index(String) - Method in class picocli.CommandLine.Model.PositionalParamSpec.Builder
-
Sets the index or range specifying which of the command line arguments should be assigned to this positional parameter, and returns this builder.
- index(CommandLine.Range) - Method in class picocli.CommandLine.Model.PositionalParamSpec.Builder
-
Sets the index or range specifying which of the command line arguments should be assigned to this positional parameter, and returns this builder.
- INFO - com.github.jy2.logs.console.utils.LogLevel
- init(CommandLine, CommandLine.Help.Ansi, PrintStream, PrintStream) - Method in class picocli.CommandLine.HelpCommand
-
Initializes this object with the information needed to implement a help command that provides usage help for other commands.
- init(CommandLine, CommandLine.Help.Ansi, PrintStream, PrintStream) - Method in interface picocli.CommandLine.IHelpCommandInitializable
-
Initializes this object with the information needed to implement a help command that provides usage help for other commands.
- InitializationException(String) - Constructor for exception picocli.CommandLine.InitializationException
- InitializationException(String, Exception) - Constructor for exception picocli.CommandLine.InitializationException
- initialValue() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the initial value this option or positional parameter.
- insertSynopsisCommandName(int, CommandLine.Help.Ansi.Text) - Method in class picocli.CommandLine.Help
-
Returns the detailed synopsis text by inserting the command name before the specified text with options and positional parameters details.
- interactive() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns whether this option will prompt the user to enter a value on the command line.
- interactive() - Method in annotation type picocli.CommandLine.Option
-
Set
interactive=trueif this option will prompt the end user for a value (like a password). - interactive() - Method in annotation type picocli.CommandLine.Parameters
-
Set
interactive=trueif this positional parameter will prompt the end user for a value (like a password). - internalShowDefaultValue(boolean) - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns whether the default for this option or positional parameter should be shown, potentially overriding the specified global setting.
- internalShowDefaultValue(boolean) - Method in class picocli.CommandLine.Model.OptionSpec
- introspector - Static variable in class com.github.jy2.commandline.picocli.Main
- invoke(String, Class<?>, PrintStream, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Convenience method to allow command line application authors to avoid some boilerplate code in their application.
- invoke(String, Class<?>, PrintStream, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.invoke(String, Class, PrintStream, PrintStream, Help.Ansi, String...)with the specified stream for requested usage help messages,System.errfor diagnostic error messages, andCommandLine.Help.Ansi.AUTO. - invoke(String, Class<?>, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.invoke(String, Class, PrintStream, PrintStream, Help.Ansi, String...)with the specified stream for requested usage help messages,System.errfor diagnostic error messages, and the specified Ansi mode. - invoke(String, Class<?>, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.invoke(String, Class, PrintStream, PrintStream, Help.Ansi, String...)withSystem.outfor requested usage help messages,System.errfor diagnostic error messages, andCommandLine.Help.Ansi.AUTO. - isCaseInsensitiveEnumValuesAllowed() - Method in class picocli.CommandLine
-
Returns whether the parser should ignore case when converting arguments to
enumvalues. - isExpandAtFiles() - Method in class picocli.CommandLine
-
Returns whether arguments starting with
'@'should be treated as the path to an argument file and its contents should be expanded into separate arguments for each line in the specified file. - isMultiValue() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns
trueif this argument'sCommandLine.Model.ArgSpec.type()is an array, aCollectionor aMap,falseotherwise. - isOption() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns
trueif this argument is a named option,falseotherwise. - isOption() - Method in class picocli.CommandLine.Model.OptionSpec
- isOption() - Method in class picocli.CommandLine.Model.PositionalParamSpec
- isOverwrittenOptionsAllowed() - Method in class picocli.CommandLine
-
Returns whether options for single-value fields can be specified multiple times on the command line.
- isPositional() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns
trueif this argument is a positional parameter,falseotherwise. - isPositional() - Method in class picocli.CommandLine.Model.OptionSpec
- isPositional() - Method in class picocli.CommandLine.Model.PositionalParamSpec
- isPosixClusteredShortOptionsAllowed() - Method in class picocli.CommandLine
-
Returns whether the parser accepts clustered short options.
- isSplitQuotedStrings() - Method in class picocli.CommandLine
-
Returns whether the parser is allowed to split quoted Strings or not.
- isStopAtPositional() - Method in class picocli.CommandLine
-
Returns whether the parser interprets the first positional parameter as "end of options" so the remaining arguments are all treated as positional parameters.
- isStopAtUnmatched() - Method in class picocli.CommandLine
-
Returns whether the parser should stop interpreting options and positional parameters as soon as it encounters an unmatched option.
- isToggleBooleanFlags() - Method in class picocli.CommandLine
-
Returns whether the value of boolean flag options should be "toggled" when the option is matched.
- isTrimQuotes() - Method in class picocli.CommandLine
-
Returns whether the parser should trim quotes from command line arguments before processing them.
- isUnknownOption() - Method in exception picocli.CommandLine.UnmatchedArgumentException
-
Returns
trueif the first unmatched command line arguments resembles an option,falseotherwise. - isUnmatchedArgumentsAllowed() - Method in class picocli.CommandLine
-
Returns whether the end user may specify arguments on the command line that are not matched to any option or parameter fields.
- isUnmatchedOptionsArePositionalParams() - Method in class picocli.CommandLine
-
Returns whether arguments on the command line that resemble an option should be treated as positional parameters.
- isUsageHelpRequested() - Method in class picocli.CommandLine
-
Returns
trueif an option annotated withCommandLine.Option.usageHelp()was specified on the command line. - isUsageHelpRequested() - Method in class picocli.CommandLine.ParseResult
-
Returns
trueif one of the options that was matched on the command line is ausageHelpoption. - isUseSimplifiedAtFiles() - Method in class picocli.CommandLine
-
Returns whether to use a simplified argument file format that is compatible with JCommander.
- isVariable - Variable in class picocli.CommandLine.Range
- isVersionHelpRequested() - Method in class picocli.CommandLine
-
Returns
trueif an option annotated withCommandLine.Option.versionHelp()was specified on the command line. - isVersionHelpRequested() - Method in class picocli.CommandLine.ParseResult
-
Returns
trueif one of the options that was matched on the command line is aversionHelpoption. - italic - picocli.CommandLine.Help.Ansi.Style
- iterator() - Method in class com.github.jy2.commandline.picocli.log.completion.ClassListCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.log.completion.NodeLineCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.log.completion.NodeListCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.member.completion.MemberNameCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.node.completion.NodeNameCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.param.completion.ClassNameCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.param.completion.ParameterNameCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.param.completion.ParameterValueCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.tf.completion.TfChildOptionCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.tf.completion.TfChildPositionalCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.tf.completion.TfParentOptionCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.tf.completion.TfParentPositionalCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.topic.completion.TopicMessageCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.topic.completion.TopicNameCompletionCandidates
- iterator() - Method in class com.github.jy2.commandline.picocli.topic.completion.TopicTypeCompletionCandidates
J
- join(CommandLine.Help.Ansi, int, String[], StringBuilder, Object...) - Static method in class picocli.CommandLine.Help
-
Formats each of the specified values and appends it to the specified StringBuilder.
L
- layout(CommandLine.Model.ArgSpec, CommandLine.Help.Ansi.Text[][]) - Method in class picocli.CommandLine.Help.Layout
-
Copies the specified text values into the correct cells in the
CommandLine.Help.TextTable. - Layout(CommandLine.Help.ColorScheme, int) - Constructor for class picocli.CommandLine.Help.Layout
-
Constructs a Layout with the specified color scheme, a new default TextTable, the default option renderer, and the default parameter renderer.
- Layout(CommandLine.Help.ColorScheme, CommandLine.Help.TextTable) - Constructor for class picocli.CommandLine.Help.Layout
-
Constructs a Layout with the specified color scheme, the specified TextTable, the default option renderer, and the default parameter renderer.
- Layout(CommandLine.Help.ColorScheme, CommandLine.Help.TextTable, CommandLine.Help.IOptionRenderer, CommandLine.Help.IParameterRenderer) - Constructor for class picocli.CommandLine.Help.Layout
-
Constructs a Layout with the specified color scheme, the specified TextTable, the specified option renderer and the specified parameter renderer.
- level - Variable in class com.github.jy2.logs.console.model.Level
- Level - Class in com.github.jy2.logs.console.model
- Level() - Constructor for class com.github.jy2.logs.console.model.Level
- levelList - Variable in class com.github.jy2.logs.console.model.Node
- levelMap - Variable in class com.github.jy2.logs.console.model.Node
- LimitedList<T> - Class in com.github.jy2.logs.console.collections
- LimitedList(int) - Constructor for class com.github.jy2.logs.console.collections.LimitedList
- limitSplit() - Method in class picocli.CommandLine.Model.ParserSpec
-
Returns true if arguments should be split first before any further processing and the number of parts resulting from the split is limited to the max arity of the argument.
- limitSplit(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
-
Sets whether arguments should be split first before any further processing.
- line - Variable in class com.github.jy2.logs.console.model.Place
- LogClearCommand - Class in com.github.jy2.commandline.picocli.log
- LogClearCommand() - Constructor for class com.github.jy2.commandline.picocli.log.LogClearCommand
- logCollector - Static variable in class com.github.jy2.commandline.picocli.Main
- LogCollector - Class in com.github.jy2.logs.console.collector
- LogCollector() - Constructor for class com.github.jy2.logs.console.collector.LogCollector
- LogCommand - Class in com.github.jy2.commandline.picocli.log
- LogCommand() - Constructor for class com.github.jy2.commandline.picocli.log.LogCommand
- LogEchoCommand - Class in com.github.jy2.commandline.picocli.log
- LogEchoCommand() - Constructor for class com.github.jy2.commandline.picocli.log.LogEchoCommand
- LogLevel - Enum in com.github.jy2.logs.console.utils
- LogLevelUtils - Class in com.github.jy2.logs.console.utils
- LogLevelUtils() - Constructor for class com.github.jy2.logs.console.utils.LogLevelUtils
- LogListCommand - Class in com.github.jy2.commandline.picocli.log
- LogListCommand() - Constructor for class com.github.jy2.commandline.picocli.log.LogListCommand
- LogStringUtils - Class in com.github.jy2.logs.console.utils
- LogStringUtils() - Constructor for class com.github.jy2.logs.console.utils.LogStringUtils
- longestName() - Method in class picocli.CommandLine.Model.OptionSpec
-
Returns the longest option name.
M
- main(String[]) - Static method in class com.github.jy2.commandline.picocli.Main
- main(String[]) - Static method in class com.github.jy2.logs.console.test.Main
- main(String...) - Static method in class picocli.AutoComplete
-
Generates a bash completion script for the specified command class.
- Main - Class in com.github.jy2.commandline.picocli
- Main - Class in com.github.jy2.logs.console.test
- Main() - Constructor for class com.github.jy2.commandline.picocli.Main
- Main() - Constructor for class com.github.jy2.logs.console.test.Main
- mapWithRuntimeException(Object) - Static method in class com.github.jy2.commandline.common.Serializer
- mapWithRuntimeException(String, Class<T>) - Static method in class com.github.jy2.commandline.common.Deserializer
- mat - com.github.jy2.commandline.picocli.tf.format.TfDisplayFormat
- matchedOption(char) - Method in class picocli.CommandLine.ParseResult
-
Returns the option with the specified short name, or
nullif no option with that name was matched on the command line. - matchedOption(String) - Method in class picocli.CommandLine.ParseResult
-
Returns the option with the specified name, or
nullif no option with that name was matched on the command line. - matchedOptions() - Method in class picocli.CommandLine.ParseResult
-
Returns a list of matched options, in the order they were found on the command line.
- matchedOptionValue(char, T) - Method in class picocli.CommandLine.ParseResult
-
Returns the command line argument value of the option with the specified name, converted to the type of the option, or the specified default value if no option with the specified name was matched.
- matchedOptionValue(String, T) - Method in class picocli.CommandLine.ParseResult
-
Returns the command line argument value of the option with the specified name, converted to the type of the option, or the specified default value if no option with the specified name was matched.
- matchedPositional(int) - Method in class picocli.CommandLine.ParseResult
-
Returns the first
PositionalParamSpecthat matched an argument at the specified position, ornullif no positional parameters were matched at that position. - matchedPositionals() - Method in class picocli.CommandLine.ParseResult
-
Returns a list of matched positional parameters.
- matchedPositionals(int) - Method in class picocli.CommandLine.ParseResult
-
Returns all
PositionalParamSpecobjects that matched an argument at the specified position, or an empty list if no positional parameters were matched at that position. - matchedPositionalValue(int, T) - Method in class picocli.CommandLine.ParseResult
-
Returns the command line argument value of the positional parameter at the specified position, converted to the type of the positional parameter, or the specified default value if no positional parameter was matched at that position.
- max - Variable in class picocli.CommandLine.Range
-
Maximum accepted number of parameters for an option or positional parameter.
- max(int) - Method in class picocli.CommandLine.Range
-
Returns a new Range object with the
maxvalue replaced by the specified value. - MaxValuesExceededException(CommandLine, String) - Constructor for exception picocli.CommandLine.MaxValuesExceededException
- MemberCleanupCommand - Class in com.github.jy2.commandline.picocli.member
- MemberCleanupCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberCleanupCommand
- MemberCommand - Class in com.github.jy2.commandline.picocli.member
- MemberCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberCommand
- MemberInfoCommand - Class in com.github.jy2.commandline.picocli.member
- MemberInfoCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberInfoCommand
- MemberKillallCommand - Class in com.github.jy2.commandline.picocli.member
- MemberKillallCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberKillallCommand
- MemberKillCommand - Class in com.github.jy2.commandline.picocli.member
- MemberKillCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberKillCommand
- MemberKilllocalCommand - Class in com.github.jy2.commandline.picocli.member
- MemberKilllocalCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberKilllocalCommand
- MemberListCommand - Class in com.github.jy2.commandline.picocli.member
- MemberListCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberListCommand
- MemberNameCompletionCandidates - Class in com.github.jy2.commandline.picocli.member.completion
- MemberNameCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.member.completion.MemberNameCompletionCandidates
- MemberPingCommand - Class in com.github.jy2.commandline.picocli.member
- MemberPingCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberPingCommand
- MemberStacktraceCommand - Class in com.github.jy2.commandline.picocli.member
- MemberStacktraceCommand() - Constructor for class com.github.jy2.commandline.picocli.member.MemberStacktraceCommand
- messages() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the Messages for this arg specification, or
null. - messages() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the Messages for this usage help message specification, or
null. - messages(CommandLine.Model.Messages) - Method in class picocli.CommandLine.Model.ArgSpec
-
Sets the Messages for this ArgSpec, and returns this ArgSpec.
- messages(CommandLine.Model.Messages) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the Messages for this usageMessage specification, and returns this UsageMessageSpec.
- Messages(CommandLine.Model.CommandSpec, ResourceBundle) - Constructor for class picocli.CommandLine.Model.Messages
- min - Variable in class picocli.CommandLine.Range
-
Required number of parameters for an option or positional parameter.
- min(int) - Method in class picocli.CommandLine.Range
-
Returns a new Range object with the
minvalue replaced by the specified value. - MissingParameterException(CommandLine, Collection<CommandLine.Model.ArgSpec>, String) - Constructor for exception picocli.CommandLine.MissingParameterException
- MissingParameterException(CommandLine, CommandLine.Model.ArgSpec, String) - Constructor for exception picocli.CommandLine.MissingParameterException
- MissingTypeConverterException(CommandLine, String) - Constructor for exception picocli.CommandLine.MissingTypeConverterException
- mixins() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns a map of the mixin names to mixin
CommandSpecobjects configured for this command. - mixinStandardHelpOptions() - Method in annotation type picocli.CommandLine.Command
-
Adds the standard
-hand--helpusageHelp options and-Vand--versionversionHelp options to the options of this command. - mixinStandardHelpOptions() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns
trueif the standard help options have been mixed in with this command,falseotherwise. - mixinStandardHelpOptions(boolean) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets whether the standard help options should be mixed in with this command.
- model - Variable in class com.github.jy2.logs.console.collector.LogCollector
- Model - Class in com.github.jy2.logs.console.model
- Model() - Constructor for class com.github.jy2.logs.console.model.Model
- monitor - Static variable in class com.github.jy2.commandline.picocli.Main
N
- name - Variable in class com.github.jy2.logs.console.model.Node
- name() - Method in annotation type picocli.CommandLine.Command
-
Program name to show in the synopsis.
- name() - Method in annotation type picocli.CommandLine.Mixin
-
Optionally specify a name that the mixin object can be retrieved with from the
CommandSpec. - name() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns name of this command.
- name(String) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets the String to use as the program name in the synopsis line of the help message.
- names() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns all names of this command, including
CommandLine.Model.CommandSpec.name()andCommandLine.Model.CommandSpec.aliases(). - names() - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Returns one or more option names.
- names() - Method in class picocli.CommandLine.Model.OptionSpec
-
Returns one or more option names.
- names() - Method in annotation type picocli.CommandLine.Option
-
One or more option names.
- names(String...) - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Replaces the option names with the specified values.
- NEVER - picocli.CommandLine.Help.Visibility
- Node - Class in com.github.jy2.logs.console.model
- Node() - Constructor for class com.github.jy2.logs.console.model.Node
- NodeCommand - Class in com.github.jy2.commandline.picocli.node
- NodeCommand() - Constructor for class com.github.jy2.commandline.picocli.node.NodeCommand
- NodeInfoCommand - Class in com.github.jy2.commandline.picocli.node
- NodeInfoCommand() - Constructor for class com.github.jy2.commandline.picocli.node.NodeInfoCommand
- NodeKillCommand - Class in com.github.jy2.commandline.picocli.node
- NodeKillCommand() - Constructor for class com.github.jy2.commandline.picocli.node.NodeKillCommand
- NodeLineCompletionCandidates - Class in com.github.jy2.commandline.picocli.log.completion
- NodeLineCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.log.completion.NodeLineCompletionCandidates
- nodeList - Variable in class com.github.jy2.logs.console.model.Model
- NodeListCommand - Class in com.github.jy2.commandline.picocli.node
- NodeListCommand() - Constructor for class com.github.jy2.commandline.picocli.node.NodeListCommand
- NodeListCompletionCandidates - Class in com.github.jy2.commandline.picocli.log.completion
- NodeListCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.log.completion.NodeListCompletionCandidates
- nodeMap - Variable in class com.github.jy2.logs.console.model.Model
- NodeNameCompletionCandidates - Class in com.github.jy2.commandline.picocli.node.completion
- NodeNameCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.node.completion.NodeNameCompletionCandidates
- nullSafeStringComparator(String, String) - Static method in class com.github.jy2.logs.console.utils.LogStringUtils
O
- off() - Method in interface picocli.CommandLine.Help.Ansi.IStyle
-
Returns the ANSI escape code for turning this style off.
- off() - Method in enum picocli.CommandLine.Help.Ansi.Style
- off(CommandLine.Help.Ansi.IStyle...) - Static method in enum picocli.CommandLine.Help.Ansi.Style
-
Returns the concatenated ANSI escape codes for turning all specified styles off.
- OFF - picocli.CommandLine.Help.Ansi
-
Forced OFF: never emit ANSI escape code regardless of the platform.
- on() - Method in interface picocli.CommandLine.Help.Ansi.IStyle
-
Returns the ANSI escape code for turning this style on.
- on() - Method in enum picocli.CommandLine.Help.Ansi.Style
- on(CommandLine.Help.Ansi.IStyle...) - Static method in enum picocli.CommandLine.Help.Ansi.Style
-
Returns the concatenated ANSI escape codes for turning all specified styles on.
- ON - picocli.CommandLine.Help.Ansi
-
Forced ON: always emit ANSI escape code regardless of the platform.
- ON_DEMAND - picocli.CommandLine.Help.Visibility
- optionArity(Field) - Static method in class picocli.CommandLine.Range
-
Returns a new
Rangebased on theCommandLine.Option.arity()annotation on the specified field, or the field type's default arity if no arity was specified. - optionList() - Method in class picocli.CommandLine.Help
-
Returns a description of the options supported by the application.
- optionList(CommandLine.Help.Layout, Comparator<CommandLine.Model.OptionSpec>, CommandLine.Help.IParamLabelRenderer) - Method in class picocli.CommandLine.Help
-
Sorts all
Optionswith the specifiedcomparator(if the comparator is non-null), then adds all non-hidden options to the specified TextTable and returns the result of TextTable.toString(). - optionListHeading() - Method in annotation type picocli.CommandLine.Command
-
Set the heading preceding the options list.
- optionListHeading() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional heading preceding the options list.
- optionListHeading(Object...) - Method in class picocli.CommandLine.Help
-
Returns the text displayed before the option list; an empty string if there are no options, otherwise the result of
String.format(optionListHeading, params). - optionListHeading(String) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the heading preceding the options list.
- optionParams(CommandLine.Help.Ansi.IStyle...) - Method in class picocli.CommandLine.Help.ColorScheme
-
Adds the specified styles to the registered styles for option parameters in this color scheme and returns this color scheme.
- optionParamStyles - Variable in class picocli.CommandLine.Help.ColorScheme
- optionParamText(String) - Method in class picocli.CommandLine.Help.ColorScheme
-
Returns a Text with all optionParam styles applied to the specified optionParam string.
- optionRenderer - Variable in class picocli.CommandLine.Help.Layout
- options() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the list of options configured for this command.
- options(CommandLine.Help.Ansi.IStyle...) - Method in class picocli.CommandLine.Help.ColorScheme
-
Adds the specified styles to the registered styles for options in this color scheme and returns this color scheme.
- optionsMap() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns a map of the option names to option spec objects configured for this command.
- optionStyles - Variable in class picocli.CommandLine.Help.ColorScheme
- optionText(String) - Method in class picocli.CommandLine.Help.ColorScheme
-
Returns a Text with all option styles applied to the specified option string.
- order() - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Returns the position in the options list in the usage help message at which this option should be shown.
- order() - Method in class picocli.CommandLine.Model.OptionSpec
-
Returns the position in the options list in the usage help message at which this option should be shown.
- order() - Method in annotation type picocli.CommandLine.Option
-
When
@Command(sortOptions = false)is specified, this attribute can be used to control the order in which options are listed in the usage help message. - order(int) - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Sets the position in the options list in the usage help message at which this option should be shown, and returns this builder.
- originalArgs() - Method in class picocli.CommandLine.ParseResult
-
Returns the command line arguments that were parsed.
- originalArgs(String[]) - Method in class picocli.CommandLine.ParseResult.Builder
-
Sets the specified command line arguments that were parsed.
- originalStringValues() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the original command line arguments matched by this option or positional parameter spec.
- out - Variable in class com.github.jy2.commandline.picocli.HzCommand
- out() - Method in class picocli.CommandLine.AbstractHandler
-
Returns the stream to print command output to.
- overflow - Variable in class picocli.CommandLine.Help.Column
-
Policy that determines how to handle values larger than the column width.
- OverwrittenOptionException(CommandLine, CommandLine.Model.ArgSpec, String) - Constructor for exception picocli.CommandLine.OverwrittenOptionException
- overwrittenOptionsAllowed() - Method in class picocli.CommandLine.Model.ParserSpec
- overwrittenOptionsAllowed(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
P
- pad(String, int) - Static method in class com.github.jy2.logs.console.utils.LogStringUtils
- ParamCommand - Class in com.github.jy2.commandline.picocli.param
- ParamCommand() - Constructor for class com.github.jy2.commandline.picocli.param.ParamCommand
- ParamDeleteCommand - Class in com.github.jy2.commandline.picocli.param
- ParamDeleteCommand() - Constructor for class com.github.jy2.commandline.picocli.param.ParamDeleteCommand
- parameterArity(Field) - Static method in class picocli.CommandLine.Range
-
Returns a new
Rangebased on theCommandLine.Parameters.arity()annotation on the specified field, or the field type's default arity if no arity was specified. - ParameterException(CommandLine, String) - Constructor for exception picocli.CommandLine.ParameterException
-
Constructs a new ParameterException with the specified CommandLine and error message.
- ParameterException(CommandLine, String, Throwable) - Constructor for exception picocli.CommandLine.ParameterException
-
Constructs a new ParameterException with the specified CommandLine and error message.
- ParameterException(CommandLine, String, Throwable, CommandLine.Model.ArgSpec, String) - Constructor for exception picocli.CommandLine.ParameterException
-
Constructs a new ParameterException with the specified CommandLine and error message.
- ParameterException(CommandLine, String, CommandLine.Model.ArgSpec, String) - Constructor for exception picocli.CommandLine.ParameterException
-
Constructs a new ParameterException with the specified CommandLine and error message.
- parameterIndex(Field) - Static method in class picocli.CommandLine.Range
-
Returns a new
Rangebased on theCommandLine.Parameters.index()annotation on the specified field. - ParameterIndexGapException(String) - Constructor for exception picocli.CommandLine.ParameterIndexGapException
- parameterLabelRenderer() - Method in class picocli.CommandLine.Help
-
Option and positional parameter value label renderer used for the synopsis line(s) and the option list.
- parameterList() - Method in class picocli.CommandLine.Help
-
Returns the section of the usage help message that lists the parameters with their descriptions.
- parameterList(CommandLine.Help.Layout, CommandLine.Help.IParamLabelRenderer) - Method in class picocli.CommandLine.Help
-
Returns the section of the usage help message that lists the parameters with their descriptions.
- parameterListHeading() - Method in annotation type picocli.CommandLine.Command
-
Set the heading preceding the parameters list.
- parameterListHeading() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional heading preceding the parameter list.
- parameterListHeading(Object...) - Method in class picocli.CommandLine.Help
-
Returns the text displayed before the positional parameter list; an empty string if there are no positional parameters, otherwise the result of
String.format(parameterListHeading, params). - parameterListHeading(String) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the optional heading preceding the parameter list.
- ParameterNameCompletionCandidates - Class in com.github.jy2.commandline.picocli.param.completion
- ParameterNameCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.param.completion.ParameterNameCompletionCandidates
- parameterRenderer - Variable in class picocli.CommandLine.Help.Layout
- parameters(CommandLine.Help.Ansi.IStyle...) - Method in class picocli.CommandLine.Help.ColorScheme
-
Adds the specified styles to the registered styles for positional parameters in this color scheme and returns this color scheme.
- parameterStyles - Variable in class picocli.CommandLine.Help.ColorScheme
- parameterText(String) - Method in class picocli.CommandLine.Help.ColorScheme
-
Returns a Text with all parameter styles applied to the specified parameter string.
- ParameterValueCompletionCandidates - Class in com.github.jy2.commandline.picocli.param.completion
- ParameterValueCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.param.completion.ParameterValueCompletionCandidates
- ParamGetAllCommand - Class in com.github.jy2.commandline.picocli.param
- ParamGetAllCommand() - Constructor for class com.github.jy2.commandline.picocli.param.ParamGetAllCommand
- ParamGetCommand - Class in com.github.jy2.commandline.picocli.param
- ParamGetCommand() - Constructor for class com.github.jy2.commandline.picocli.param.ParamGetCommand
- paramLabel() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the name of the option or positional parameter used in the usage help message.
- paramLabel() - Method in annotation type picocli.CommandLine.Option
-
Specify a
paramLabelfor the option parameter to be used in the usage help message. - paramLabel() - Method in annotation type picocli.CommandLine.Parameters
-
Specify a
paramLabelfor the parameter to be used in the usage help message. - ParamListCommand - Class in com.github.jy2.commandline.picocli.param
- ParamListCommand() - Constructor for class com.github.jy2.commandline.picocli.param.ParamListCommand
- ParamSetCommand - Class in com.github.jy2.commandline.picocli.param
- ParamSetCommand() - Constructor for class com.github.jy2.commandline.picocli.param.ParamSetCommand
- ParamShowJsonCommand - Class in com.github.jy2.commandline.picocli.param
- ParamShowJsonCommand() - Constructor for class com.github.jy2.commandline.picocli.param.ParamShowJsonCommand
- ParamShowYamlCommand - Class in com.github.jy2.commandline.picocli.param
- ParamShowYamlCommand() - Constructor for class com.github.jy2.commandline.picocli.param.ParamShowYamlCommand
- parent() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the parent command of this subcommand, or
nullif this is a top-level command. - parent(CommandLine.Model.CommandSpec) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets the parent command of this subcommand.
- parse(String) - Static method in enum picocli.CommandLine.Help.Ansi.Style
-
Parses the specified comma-separated sequence of style descriptors and returns the associated styles.
- parse(String...) - Method in class picocli.CommandLine
-
Parses the specified command line arguments and returns a list of
CommandLineobjects representing the top-level command and any subcommands (if any) that were recognized and initialized during the parsing process. - parseArgs(String...) - Method in class picocli.CommandLine
-
Parses the specified command line arguments and returns a list of
ParseResultwith the options, positional parameters, and subcommands (if any) that were recognized and initialized during the parsing process. - parser() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the parser specification for this command.
- parser(CommandLine.Model.ParserSpec) - Method in class picocli.CommandLine.Model.CommandSpec
-
Initializes the parser specification for this command from the specified settings and returns this commandSpec.
- ParserSpec() - Constructor for class picocli.CommandLine.Model.ParserSpec
- parseWithHandler(CommandLine.IParseResultHandler2<R>, String[]) - Method in class picocli.CommandLine
-
Returns the result of calling
CommandLine.parseWithHandlers(IParseResultHandler2, IExceptionHandler2, String...)with a newCommandLine.DefaultExceptionHandlerin addition to the specified parse result handler and the specified command line arguments. - parseWithHandler(CommandLine.IParseResultHandler, PrintStream, String...) - Method in class picocli.CommandLine
-
Deprecated.
- parseWithHandlers(CommandLine.IParseResultHandler2<R>, CommandLine.IExceptionHandler2<R>, String...) - Method in class picocli.CommandLine
- parseWithHandlers(CommandLine.IParseResultHandler, PrintStream, CommandLine.Help.Ansi, CommandLine.IExceptionHandler, String...) - Method in class picocli.CommandLine
-
Deprecated.
- picocli - package picocli
- picocli.shell.jline3 - package picocli.shell.jline3
- PicocliException(String) - Constructor for exception picocli.CommandLine.PicocliException
- PicocliException(String, Throwable) - Constructor for exception picocli.CommandLine.PicocliException
- PicocliJLineCompleter - Class in picocli.shell.jline3
-
Implementation of the JLine 3
Completerinterface that generates completion candidates for the specified command line based on theCommandLine.Model.CommandSpecthat thisPicocliJLineCompleterwas constructed with. - PicocliJLineCompleter(CommandLine.Model.CommandSpec) - Constructor for class picocli.shell.jline3.PicocliJLineCompleter
-
Constructs a new
PicocliJLineCompleterfor the given command spec. - Place - Class in com.github.jy2.logs.console.model
- Place() - Constructor for class com.github.jy2.logs.console.model.Place
- placeList - Variable in class com.github.jy2.logs.console.model.Level
- placeMap - Variable in class com.github.jy2.logs.console.model.Level
- plainString() - Method in class picocli.CommandLine.Help.Ansi.Text
-
Returns the plain text without any formatting.
- populateCommand(T, String...) - Static method in class picocli.CommandLine
-
Convenience method that initializes the specified annotated object from the specified command line arguments.
- populateSpec(Class<T>, String...) - Static method in class picocli.CommandLine
-
Convenience method that derives the command specification from the specified interface class, and returns an instance of the specified interface.
- positionalParameters() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the list of positional parameters configured for this command.
- posixClusteredShortOptionsAllowed() - Method in class picocli.CommandLine.Model.ParserSpec
- posixClusteredShortOptionsAllowed(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- posixOptionsMap() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns a map of the short (single character) option names to option spec objects configured for this command.
- printHelpIfRequested(List<CommandLine>, PrintStream, PrintStream, CommandLine.Help.Ansi) - Static method in class picocli.CommandLine
-
Helper method that may be useful when processing the list of
CommandLineobjects that result from successfully parsing command line arguments. - printHelpIfRequested(List<CommandLine>, PrintStream, PrintStream, CommandLine.Help.ColorScheme) - Static method in class picocli.CommandLine
-
Helper method that may be useful when processing the list of
CommandLineobjects that result from successfully parsing command line arguments. - printHelpIfRequested(List<CommandLine>, PrintStream, CommandLine.Help.Ansi) - Static method in class picocli.CommandLine
-
Deprecated.
- printHelpIfRequested(CommandLine.ParseResult) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.printHelpIfRequested(List, PrintStream, PrintStream, Help.Ansi)withparseResult.asCommandLineList(), System.out, System.err, Help.Ansi.AUTO. - printSuggestions(PrintStream) - Method in exception picocli.CommandLine.UnmatchedArgumentException
-
Returns
trueand prints suggested solutions to the specified stream if such solutions exist, otherwise returnsfalse. - printSuggestions(CommandLine.ParameterException, PrintStream) - Static method in exception picocli.CommandLine.UnmatchedArgumentException
-
Returns
trueand prints suggested solutions to the specified stream if such solutions exist, otherwise returnsfalse. - printVersionHelp(PrintStream) - Method in class picocli.CommandLine
-
Delegates to
CommandLine.printVersionHelp(PrintStream, Help.Ansi)with the platform default. - printVersionHelp(PrintStream, CommandLine.Help.Ansi) - Method in class picocli.CommandLine
-
Prints version information from the
CommandLine.Command.version()annotation to the specifiedPrintStream. - printVersionHelp(PrintStream, CommandLine.Help.Ansi, Object...) - Method in class picocli.CommandLine
-
Prints version information from the
CommandLine.Command.version()annotation to the specifiedPrintStream. - putValue(int, int, CommandLine.Help.Ansi.Text) - Method in class picocli.CommandLine.Help.TextTable
-
Writes the specified value into the cell at the specified row and column and returns the last row and column written to.
Q
- qualifiedName() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the String to use as the program name in the synopsis line of the help message: this command's
name, preceded by the qualified name of the parent command, if any, separated by a space. - qualifiedName(String) - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns this command's fully qualified name, which is its
name, preceded by the qualified name of the parent command, if this command has a parent command. - quat - com.github.jy2.commandline.picocli.tf.format.TfDisplayFormat
- quaternionToEuler(Quat4d, Vector3d) - Static method in class com.github.jy2.commandline.picocli.tf.format.QuaternionUtils
- quaternionToRpy(Quat4d, Vector3d) - Static method in class com.github.jy2.commandline.picocli.tf.format.QuaternionUtils
- QuaternionUtils - Class in com.github.jy2.commandline.picocli.tf.format
- QuaternionUtils() - Constructor for class com.github.jy2.commandline.picocli.tf.format.QuaternionUtils
R
- Range(int, int, boolean, boolean, String) - Constructor for class picocli.CommandLine.Range
-
Constructs a new Range object with the specified parameters.
- registerConverter(Class<K>, CommandLine.ITypeConverter<K>) - Method in class picocli.CommandLine
-
Registers the specified type converter for the specified class.
- render(CommandLine.Help) - Method in interface picocli.CommandLine.IHelpSectionRenderer
-
Renders a section of the usage help, like header heading, header, synopsis heading, synopsis, description heading, description, etc.
- render(CommandLine.Model.OptionSpec, CommandLine.Help.IParamLabelRenderer, CommandLine.Help.ColorScheme) - Method in interface picocli.CommandLine.Help.IOptionRenderer
-
Returns a text representation of the specified option and its parameter(s) if any.
- render(CommandLine.Model.PositionalParamSpec, CommandLine.Help.IParamLabelRenderer, CommandLine.Help.ColorScheme) - Method in interface picocli.CommandLine.Help.IParameterRenderer
-
Returns a text representation of the specified positional parameter.
- renderedDescription() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the description of this option, after variables are rendered.
- renderParameterLabel(CommandLine.Model.ArgSpec, CommandLine.Help.Ansi, List<CommandLine.Help.Ansi.IStyle>) - Method in interface picocli.CommandLine.Help.IParamLabelRenderer
-
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. - required() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns whether this is a required option or positional parameter.
- required() - Method in annotation type picocli.CommandLine.Option
-
Indicates whether this option is required.
- requiredArgs() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the list of required options and positional parameters configured for this command.
- requiredOptionMarker() - Method in annotation type picocli.CommandLine.Command
-
Prefix required options with this character in the options list.
- requiredOptionMarker() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the character used to prefix required options in the options list.
- requiredOptionMarker(char) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the character used to prefix required options in the options list.
- reset - picocli.CommandLine.Help.Ansi.Style
- resetOriginalStringValues() - Method in class picocli.CommandLine.Model.ArgSpec
-
Sets the
originalStringValuesto a new list instance. - resetStringValues() - Method in class picocli.CommandLine.Model.ArgSpec
-
Sets the
stringValuesto a new list instance. - resourceBundle() - Method in annotation type picocli.CommandLine.Command
-
Set the base name of the ResourceBundle to find option and positional parameters descriptions, as well as usage help message sections and section headings.
- resourceBundle() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the resource bundle for this command.
- resourceBundle() - Method in class picocli.CommandLine.Model.Messages
-
Returns the ResourceBundle of this object or
null. - resourceBundle(ResourceBundle) - Method in class picocli.CommandLine.Model.CommandSpec
-
Initializes the resource bundle for this command: sets the
UsageMessageSpec.messagesto aMessagesobject created from this command spec and the specified bundle, and then sets theArgSpec.messagesof all options and positional parameters in this command to the sameMessagesinstance. - resourceBundle(CommandLine.Model.Messages) - Static method in class picocli.CommandLine.Model.Messages
-
Returns the ResourceBundle of the specified Messages object or
nullif the specified Messages object isnull. - returnResultOrExit(R) - Method in class picocli.CommandLine.AbstractHandler
-
Convenience method for subclasses that returns the specified result object if no exit code was set, or otherwise, if an exit code was set, calls
System.exitwith the configured exit code to terminate the currently running Java virtual machine. - reverse - picocli.CommandLine.Help.Ansi.Style
- row - Variable in class picocli.CommandLine.Help.TextTable.Cell
-
Table row index (zero based).
- rowCount() - Method in class picocli.CommandLine.Help.TextTable
-
Returns the current number of rows of this
TextTable. - rpy - com.github.jy2.commandline.picocli.tf.format.TfDisplayFormat
- rpyToQuaternion(Vector3d, Quat4d) - Static method in class com.github.jy2.commandline.picocli.tf.format.QuaternionUtils
- run() - Method in class com.github.jy2.commandline.picocli.HzCommand
- run() - Method in class com.github.jy2.commandline.picocli.log.LogClearCommand
- run() - Method in class com.github.jy2.commandline.picocli.log.LogCommand
- run() - Method in class com.github.jy2.commandline.picocli.log.LogEchoCommand
- run() - Method in class com.github.jy2.commandline.picocli.log.LogListCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberCleanupCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberInfoCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberKillallCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberKillCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberKilllocalCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberListCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberPingCommand
- run() - Method in class com.github.jy2.commandline.picocli.member.MemberStacktraceCommand
- run() - Method in class com.github.jy2.commandline.picocli.node.NodeCommand
- run() - Method in class com.github.jy2.commandline.picocli.node.NodeInfoCommand
- run() - Method in class com.github.jy2.commandline.picocli.node.NodeKillCommand
- run() - Method in class com.github.jy2.commandline.picocli.node.NodeListCommand
- run() - Method in class com.github.jy2.commandline.picocli.param.ParamCommand
- run() - Method in class com.github.jy2.commandline.picocli.param.ParamDeleteCommand
- run() - Method in class com.github.jy2.commandline.picocli.param.ParamGetAllCommand
- run() - Method in class com.github.jy2.commandline.picocli.param.ParamGetCommand
- run() - Method in class com.github.jy2.commandline.picocli.param.ParamListCommand
- run() - Method in class com.github.jy2.commandline.picocli.param.ParamSetCommand
- run() - Method in class com.github.jy2.commandline.picocli.param.ParamShowJsonCommand
- run() - Method in class com.github.jy2.commandline.picocli.param.ParamShowYamlCommand
- run() - Method in class com.github.jy2.commandline.picocli.tf.TfCommand
- run() - Method in class com.github.jy2.commandline.picocli.tf.TfDelayCommand
- run() - Method in class com.github.jy2.commandline.picocli.tf.TfEchoCommand
- run() - Method in class com.github.jy2.commandline.picocli.tf.TfHzCommand
- run() - Method in class com.github.jy2.commandline.picocli.tf.TfListCommand
- run() - Method in class com.github.jy2.commandline.picocli.tf.TfWhoCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicDelayCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicDeleteCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicEchoCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicHzCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicInfoCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicListCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicPubCommand.PublisherThread
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicPubCommand
- run() - Method in class com.github.jy2.commandline.picocli.topic.TopicWhoCommand
- run() - Method in class picocli.CommandLine.HelpCommand
-
Invokes
usagefor the specified command, or for the parent command. - run(Class<R>, CommandLine.IFactory, PrintStream, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Convenience method to allow command line application authors to avoid some boilerplate code in their application.
- run(Class<R>, CommandLine.IFactory, PrintStream, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.run(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)withSystem.errfor diagnostic error messages, andCommandLine.Help.Ansi.AUTO. - run(Class<R>, CommandLine.IFactory, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.run(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)withSystem.errfor diagnostic error messages. - run(Class<R>, CommandLine.IFactory, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.run(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)withSystem.outfor requested usage help messages,System.errfor diagnostic error messages, andCommandLine.Help.Ansi.AUTO. - run(R, PrintStream, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Convenience method to allow command line application authors to avoid some boilerplate code in their application.
- run(R, PrintStream, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.run(Runnable, PrintStream, PrintStream, Help.Ansi, String...)withSystem.errfor diagnostic error messages andCommandLine.Help.Ansi.AUTO. - run(R, PrintStream, CommandLine.Help.Ansi, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.run(Runnable, PrintStream, PrintStream, Help.Ansi, String...)withSystem.errfor diagnostic error messages. - run(R, String...) - Static method in class picocli.CommandLine
-
Delegates to
CommandLine.run(Runnable, PrintStream, PrintStream, Help.Ansi, String...)withSystem.outfor requested usage help messages,System.errfor diagnostic error messages, andCommandLine.Help.Ansi.AUTO. - RunAll() - Constructor for class picocli.CommandLine.RunAll
- RunFirst() - Constructor for class picocli.CommandLine.RunFirst
- RunLast() - Constructor for class picocli.CommandLine.RunLast
- runPing - Static variable in class com.github.jy2.commandline.picocli.member.MemberPingCommand
S
- SECTION_KEY_COMMAND_LIST - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_COMMAND_LIST_HEADING - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_DESCRIPTION - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_DESCRIPTION_HEADING - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_FOOTER - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_FOOTER_HEADING - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_HEADER - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_HEADER_HEADING - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_OPTION_LIST - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_OPTION_LIST_HEADING - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_PARAMETER_LIST - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_PARAMETER_LIST_HEADING - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_SYNOPSIS - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- SECTION_KEY_SYNOPSIS_HEADING - Static variable in class picocli.CommandLine.Model.UsageMessageSpec
- sectionKeys() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the section keys in the order that the usage help message should render the sections.
- sectionKeys(List<String>) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the section keys in the order that the usage help message should render the sections.
- sectionMap() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the map of section keys and renderers used to construct the usage help message.
- sectionMap(Map<String, CommandLine.IHelpSectionRenderer>) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the map of section keys and renderers used to construct the usage help message to a copy of the specified map.
- self() - Method in class picocli.CommandLine.AbstractHandler
-
Returns
thisto allow method chaining when calling the setters for a fluent API. - self() - Method in class picocli.CommandLine.DefaultExceptionHandler
- self() - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Returns this builder.
- self() - Method in class picocli.CommandLine.Model.PositionalParamSpec.Builder
-
Returns this builder.
- self() - Method in class picocli.CommandLine.RunAll
- self() - Method in class picocli.CommandLine.RunFirst
- self() - Method in class picocli.CommandLine.RunLast
- separator() - Method in annotation type picocli.CommandLine.Command
-
String that separates options from option parameters.
- separator() - Method in interface picocli.CommandLine.Help.IParamLabelRenderer
-
Returns the separator between option name and param label.
- separator() - Method in class picocli.CommandLine.Model.ParserSpec
-
Returns the String to use as the separator between options and option parameters.
- separator(String) - Method in class picocli.CommandLine.Model.ParserSpec
-
Sets the String to use as the separator between options and option parameters.
- serialize(TransformStamped, TfDisplayFormat) - Static method in class com.github.jy2.commandline.picocli.tf.format.TfSerializer
- serialize(Object) - Method in class com.github.jy2.commandline.common.Serializer
- serializer - Static variable in class com.github.jy2.commandline.picocli.Main
- Serializer - Class in com.github.jy2.commandline.common
- Serializer() - Constructor for class com.github.jy2.commandline.common.Serializer
- set(T) - Method in interface picocli.CommandLine.Model.ISetter
-
Sets the new value of the option or positional parameter.
- setAtFileCommentChar(Character) - Method in class picocli.CommandLine
-
Sets the character that starts a single-line comment or
nullif all content of argument files should be interpreted as arguments (without comments). - setCaseInsensitiveEnumValuesAllowed(boolean) - Method in class picocli.CommandLine
-
Sets whether the parser should ignore case when converting arguments to
enumvalues. - setCommandName(String) - Method in class picocli.CommandLine
-
Sets the command name (also called program name) displayed in the usage help synopsis to the specified value.
- setDefaultValueProvider(CommandLine.IDefaultValueProvider) - Method in class picocli.CommandLine
-
Sets a default value provider for the command and sub-commands
- setEndOfOptionsDelimiter(String) - Method in class picocli.CommandLine
-
Sets the end-of-options delimiter that signals that the remaining command line arguments should be treated as positional parameters.
- setExpandAtFiles(boolean) - Method in class picocli.CommandLine
-
Sets whether arguments starting with
'@'should be treated as the path to an argument file and its contents should be expanded into separate arguments for each line in the specified file. - setHelpFactory(CommandLine.IHelpFactory) - Method in class picocli.CommandLine
-
Sets a new
IHelpFactoryto customize the usage help message. - setHelpSectionKeys(List<String>) - Method in class picocli.CommandLine
-
Sets the section keys in the order that the usage help message should render the sections.
- setHelpSectionMap(Map<String, CommandLine.IHelpSectionRenderer>) - Method in class picocli.CommandLine
-
Sets the map of section keys and renderers used to construct the usage help message.
- setOverwrittenOptionsAllowed(boolean) - Method in class picocli.CommandLine
-
Sets whether options for single-value fields can be specified multiple times on the command line without a
CommandLine.OverwrittenOptionExceptionbeing thrown. - setPosixClusteredShortOptionsAllowed(boolean) - Method in class picocli.CommandLine
-
Sets whether short options like
-x -v -f SomeFilecan be clustered together like-xvfSomeFile. - setReader(LineReader) - Method in class com.github.jy2.commandline.picocli.HzCommand
- setResourceBundle(ResourceBundle) - Method in class picocli.CommandLine
-
Sets the ResourceBundle containing usage help message strings.
- setSeparator(String) - Method in class picocli.CommandLine
-
Sets the String the parser uses to separate option names from option values to the specified value.
- setSplitQuotedStrings(boolean) - Method in class picocli.CommandLine
-
Sets whether the parser is allowed to split quoted Strings.
- setStopAtPositional(boolean) - Method in class picocli.CommandLine
-
Sets whether the parser interprets the first positional parameter as "end of options" so the remaining arguments are all treated as positional parameters.
- setStopAtUnmatched(boolean) - Method in class picocli.CommandLine
-
Sets whether the parser should stop interpreting options and positional parameters as soon as it encounters an unmatched option.
- setter() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the
CommandLine.Model.ISetterthat is responsible for modifying the value of this argument. - setter() - Method in class picocli.CommandLine.Model.UnmatchedArgsBinding
-
Returns the setter responsible for consuming the unmatched arguments.
- setToggleBooleanFlags(boolean) - Method in class picocli.CommandLine
-
Sets whether the value of boolean flag options should be "toggled" when the option is matched.
- setTrimQuotes(boolean) - Method in class picocli.CommandLine
-
Sets whether the parser should trim quotes from command line arguments before processing them.
- setUnmatchedArgumentsAllowed(boolean) - Method in class picocli.CommandLine
-
Sets whether the end user may specify unmatched arguments on the command line without a
CommandLine.UnmatchedArgumentExceptionbeing thrown. - setUnmatchedOptionsArePositionalParams(boolean) - Method in class picocli.CommandLine
-
Sets whether arguments on the command line that resemble an option should be treated as positional parameters.
- setUsageHelpWidth(int) - Method in class picocli.CommandLine
-
Sets the maximum width of the usage help message.
- setUseSimplifiedAtFiles(boolean) - Method in class picocli.CommandLine
-
Sets whether to use a simplified argument file format that is compatible with JCommander.
- setValue(T) - Method in class picocli.CommandLine.Model.ArgSpec
-
Sets the value of this argument to the specified value and returns the previous value.
- setValue(T, CommandLine) - Method in class picocli.CommandLine.Model.ArgSpec
-
Deprecated.use
CommandLine.Model.ArgSpec.setValue(Object)instead. This was a design mistake. - shortClassName(String) - Static method in class com.github.jy2.logs.console.utils.LogStringUtils
- shortestFirst() - Static method in class picocli.CommandLine.Help
-
Sorts short strings before longer strings.
- showDefaultValue() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns whether this option or positional parameter's default value should be shown in the usage help.
- showDefaultValue() - Method in annotation type picocli.CommandLine.Option
-
Use this attribute to control for a specific option whether its default value should be shown in the usage help message.
- showDefaultValue() - Method in annotation type picocli.CommandLine.Parameters
-
Use this attribute to control for a specific positional parameter whether its default value should be shown in the usage help message.
- showDefaultValues() - Method in annotation type picocli.CommandLine.Command
-
Specify
trueto show default values in the description column of the options list (except for boolean options). - showDefaultValues() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns whether the options list in the usage help message should show default values for all non-boolean options.
- showDefaultValues(boolean) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets whether the options list in the usage help message should show default values for all non-boolean options.
- size() - Method in class com.github.jy2.logs.console.collections.LimitedList
- sortOptions() - Method in annotation type picocli.CommandLine.Command
-
Specify
falseto show Options in declaration order. - sortOptions() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns whether the options list in the usage help message should be sorted alphabetically.
- sortOptions(boolean) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets whether the options list in the usage help message should be sorted alphabetically.
- SPAN - picocli.CommandLine.Help.Column.Overflow
- split() - Method in annotation type picocli.CommandLine.Option
-
Specify a regular expression to use to split option parameter values before applying them to the field.
- split() - Method in annotation type picocli.CommandLine.Parameters
-
Specify a regular expression to use to split positional parameter values before applying them to the field.
- splitLines() - Method in class picocli.CommandLine.Help.Ansi.Text
- splitQuotedStrings() - Method in class picocli.CommandLine.Model.ParserSpec
- splitQuotedStrings(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- splitRegex() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns a regular expression to split option parameter values or
""if the value should not be split. - stop - Variable in class com.github.jy2.commandline.picocli.topic.TopicPubCommand.PublisherThread
- stopAtPositional() - Method in class picocli.CommandLine.Model.ParserSpec
- stopAtPositional(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- stopAtUnmatched() - Method in class picocli.CommandLine.Model.ParserSpec
- stopAtUnmatched(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- string(String) - Method in enum picocli.CommandLine.Help.Ansi
-
Returns a String where any markup like
@|bg(red),white,underline some text|@is converted to ANSI escape codes if this Ansi is ON, or suppressed if this Ansi is OFF. - stringValues() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the untyped command line arguments matched by this option or positional parameter spec.
- subcommand() - Method in class picocli.CommandLine.ParseResult
-
Returns the
ParseResultfor the subcommand of this command that was matched on the command line, ornullif no subcommand was matched. - subcommand(CommandLine.ParseResult) - Method in class picocli.CommandLine.ParseResult.Builder
-
Sets the specified
ParseResultfor a subcommand that was matched on the command line. - subcommands() - Method in annotation type picocli.CommandLine.Command
-
A list of classes to instantiate and register as subcommands.
- subcommands() - Method in class picocli.CommandLine.Help
-
Returns the map of subcommand
Helpinstances for this command Help. - subcommands() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns a read-only view of the subcommand map.
- subscriber - Static variable in class com.github.jy2.commandline.picocli.topic.TopicEchoCommand
- substring(int) - Method in class picocli.CommandLine.Help.Ansi.Text
-
Returns a new
Textinstance that is a substring of this Text. - substring(int, int) - Method in class picocli.CommandLine.Help.Ansi.Text
-
Returns a new
Textinstance that is a substring of this Text. - synopsis() - Method in class picocli.CommandLine.Help
-
Deprecated.use
CommandLine.Help.synopsis(int)instead - synopsis(int) - Method in class picocli.CommandLine.Help
-
Returns a synopsis for the command, reserving the specified space for the synopsis heading.
- synopsisHeading() - Method in annotation type picocli.CommandLine.Command
-
Set the heading preceding the synopsis text.
- synopsisHeading() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the optional heading preceding the synopsis.
- synopsisHeading(Object...) - Method in class picocli.CommandLine.Help
-
Returns the text displayed before the synopsis text; the result of
String.format(synopsisHeading, params). - synopsisHeading(String) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the optional heading preceding the synopsis.
- synopsisHeadingLength() - Method in class picocli.CommandLine.Help
-
Returns the number of characters the synopsis heading will take on the same line as the synopsis.
T
- table - Variable in class picocli.CommandLine.Help.Layout
- tentativeMatch - Static variable in class picocli.AutoComplete
- text(String) - Method in enum picocli.CommandLine.Help.Ansi
-
Returns a new Text object for this Ansi mode, encapsulating the specified string which may contain markup like
@|bg(red),white,underline some text|@. - Text(int) - Constructor for class picocli.CommandLine.Help.Ansi.Text
-
Constructs a Text with the specified max length (for use in a TextTable Column).
- 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|@. - Text(CommandLine.Help.Ansi.Text) - Constructor for class picocli.CommandLine.Help.Ansi.Text
-
Copy constructor.
- textAt(int, int) - Method in class picocli.CommandLine.Help.TextTable
-
Returns the
Textslot at the specified row and column to write a text value into. - TextTable(CommandLine.Help.Ansi, CommandLine.Help.Column[]) - Constructor for class picocli.CommandLine.Help.TextTable
- TfChildOptionCompletionCandidates - Class in com.github.jy2.commandline.picocli.tf.completion
- TfChildOptionCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.tf.completion.TfChildOptionCompletionCandidates
- TfChildPositionalCompletionCandidates - Class in com.github.jy2.commandline.picocli.tf.completion
- TfChildPositionalCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.tf.completion.TfChildPositionalCompletionCandidates
- TfCommand - Class in com.github.jy2.commandline.picocli.tf
- TfCommand() - Constructor for class com.github.jy2.commandline.picocli.tf.TfCommand
- TfDelayCommand - Class in com.github.jy2.commandline.picocli.tf
- TfDelayCommand() - Constructor for class com.github.jy2.commandline.picocli.tf.TfDelayCommand
- TfDisplayFormat - Enum in com.github.jy2.commandline.picocli.tf.format
- TfEchoCommand - Class in com.github.jy2.commandline.picocli.tf
- TfEchoCommand() - Constructor for class com.github.jy2.commandline.picocli.tf.TfEchoCommand
- TfHzCommand - Class in com.github.jy2.commandline.picocli.tf
- TfHzCommand() - Constructor for class com.github.jy2.commandline.picocli.tf.TfHzCommand
- TfListCommand - Class in com.github.jy2.commandline.picocli.tf
- TfListCommand() - Constructor for class com.github.jy2.commandline.picocli.tf.TfListCommand
- TfParentOptionCompletionCandidates - Class in com.github.jy2.commandline.picocli.tf.completion
- TfParentOptionCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.tf.completion.TfParentOptionCompletionCandidates
- TfParentPositionalCompletionCandidates - Class in com.github.jy2.commandline.picocli.tf.completion
- TfParentPositionalCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.tf.completion.TfParentPositionalCompletionCandidates
- TfSerializer - Class in com.github.jy2.commandline.picocli.tf.format
- TfSerializer() - Constructor for class com.github.jy2.commandline.picocli.tf.format.TfSerializer
- TfWhoCommand - Class in com.github.jy2.commandline.picocli.tf
- TfWhoCommand() - Constructor for class com.github.jy2.commandline.picocli.tf.TfWhoCommand
- thread - Static variable in class com.github.jy2.commandline.picocli.topic.TopicPubCommand
- throwOrExit(CommandLine.ExecutionException) - Method in class picocli.CommandLine.AbstractHandler
-
Convenience method for subclasses that throws the specified ExecutionException if no exit code was set, or otherwise, if an exit code was set, prints the stacktrace of the specified exception to the diagnostic error stream and calls
System.exitwith the configured exit code to terminate the currently running Java virtual machine. - toBuilder() - Method in class picocli.CommandLine.Model.OptionSpec
-
Returns a new Builder initialized with the attributes from this
OptionSpec. - toBuilder() - Method in class picocli.CommandLine.Model.PositionalParamSpec
-
Returns a new Builder initialized with the attributes from this
PositionalParamSpec. - toggleBooleanFlags() - Method in class picocli.CommandLine.Model.ParserSpec
- toggleBooleanFlags(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- TopicCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicCommand
- TopicDelayCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicDelayCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicDelayCommand
- TopicDeleteCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicDeleteCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicDeleteCommand
- TopicEchoCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicEchoCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicEchoCommand
- TopicHzCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicHzCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicHzCommand
- TopicInfoCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicInfoCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicInfoCommand
- TopicListCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicListCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicListCommand
- TopicMessageCompletionCandidates - Class in com.github.jy2.commandline.picocli.topic.completion
- TopicMessageCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.topic.completion.TopicMessageCompletionCandidates
- topicName - Static variable in class com.github.jy2.commandline.picocli.topic.completion.TopicTypeCompletionCandidates
- TopicNameCompletionCandidates - Class in com.github.jy2.commandline.picocli.topic.completion
- TopicNameCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.topic.completion.TopicNameCompletionCandidates
- TopicPubCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicPubCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicPubCommand
- TopicPubCommand.PublisherThread - Class in com.github.jy2.commandline.picocli.topic
- TopicTypeCompletionCandidates - Class in com.github.jy2.commandline.picocli.topic.completion
- TopicTypeCompletionCandidates() - Constructor for class com.github.jy2.commandline.picocli.topic.completion.TopicTypeCompletionCandidates
- TopicWhoCommand - Class in com.github.jy2.commandline.picocli.topic
- TopicWhoCommand() - Constructor for class com.github.jy2.commandline.picocli.topic.TopicWhoCommand
- toRosLevel(LogLevel) - Static method in class com.github.jy2.logs.console.utils.LogLevelUtils
- toString - Variable in class picocli.CommandLine.Model.ArgSpec
- toString() - Method in class com.github.jy2.logs.console.model.Level
- toString() - Method in class com.github.jy2.logs.console.model.Place
- toString() - Method in class picocli.CommandLine.Help.Ansi.Text
-
Returns a String representation of the text with ANSI escape codes embedded, unless ANSI is CommandLine.Help.Ansi.enabled() not enabled}, in which case the plain text is returned.
- toString() - Method in class picocli.CommandLine.Help.Layout
-
Returns the section of the usage help message accumulated in the TextTable owned by this layout.
- toString() - Method in class picocli.CommandLine.Help.TextTable
- toString() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns a string respresentation of this option or positional parameter.
- toString() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns a string representation of this command, used in error messages and trace messages.
- toString() - Method in class picocli.CommandLine.Model.ParserSpec
- toString() - Method in class picocli.CommandLine.Range
- toString(StringBuilder) - Method in class picocli.CommandLine.Help.TextTable
-
Copies the text representation that we built up from the options into the specified StringBuilder.
- trim(String, int) - Static method in class com.github.jy2.logs.console.utils.LogStringUtils
- trimQuotes() - Method in class picocli.CommandLine.Model.ParserSpec
- trimQuotes(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- TRUNCATE - picocli.CommandLine.Help.Column.Overflow
- type() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the type to convert the option or positional parameter to before setting the value.
- type() - Method in annotation type picocli.CommandLine.Option
-
Optionally specify a
typeto control exactly what Class the option parameter should be converted to. - type() - Method in annotation type picocli.CommandLine.Parameters
-
Optionally specify a
typeto control exactly what Class the positional parameter should be converted to. - TypeConversionException(String) - Constructor for exception picocli.CommandLine.TypeConversionException
- typedValues() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the typed command line arguments matched by this option or positional parameter spec.
U
- underline - picocli.CommandLine.Help.Ansi.Style
- unmatched() - Method in class picocli.CommandLine.ParseResult
-
Returns a list of command line arguments that did not match any options or positional parameters.
- unmatchedArgsBindings() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the list of
UnmatchedArgumentsBindingsconfigured for this command; eachUnmatchedArgsBindingcaptures the arguments that could not be matched to any options or positional parameters. - UnmatchedArgumentException(CommandLine, String) - Constructor for exception picocli.CommandLine.UnmatchedArgumentException
- UnmatchedArgumentException(CommandLine, List<String>) - Constructor for exception picocli.CommandLine.UnmatchedArgumentException
- UnmatchedArgumentException(CommandLine, Stack<String>) - Constructor for exception picocli.CommandLine.UnmatchedArgumentException
- unmatchedArgumentsAllowed() - Method in class picocli.CommandLine.Model.ParserSpec
- unmatchedArgumentsAllowed(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- unmatchedOptionsArePositionalParams() - Method in class picocli.CommandLine.Model.ParserSpec
- unmatchedOptionsArePositionalParams(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
- unspecified(boolean) - Method in class picocli.CommandLine.Range
-
Returns a new Range object with the
isUnspecifiedvalue replaced by the specified value. - usage(PrintStream) - Method in class picocli.CommandLine
-
Delegates to
CommandLine.usage(PrintStream, Help.Ansi)with the platform default. - usage(PrintStream, CommandLine.Help.Ansi) - Method in class picocli.CommandLine
-
Delegates to
CommandLine.usage(PrintStream, Help.ColorScheme)with the default color scheme. - usage(PrintStream, CommandLine.Help.ColorScheme) - Method in class picocli.CommandLine
-
Prints a usage help message for the annotated command class to the specified
PrintStream. - usage(PrintWriter) - Method in class picocli.CommandLine
-
Delegates to
CommandLine.usage(PrintWriter, Help.Ansi)with the platform default. - usage(PrintWriter, CommandLine.Help.Ansi) - Method in class picocli.CommandLine
-
Similar to
CommandLine.usage(PrintStream, Help.Ansi)but with the specifiedPrintWriterinstead of aPrintStream. - usage(PrintWriter, CommandLine.Help.ColorScheme) - Method in class picocli.CommandLine
-
Similar to
CommandLine.usage(PrintStream, Help.ColorScheme), but with the specifiedPrintWriterinstead of aPrintStream. - usage(Object, PrintStream) - Static method in class picocli.CommandLine
-
Equivalent to
new CommandLine(command).usage(out). - usage(Object, PrintStream, CommandLine.Help.Ansi) - Static method in class picocli.CommandLine
-
Equivalent to
new CommandLine(command).usage(out, ansi). - usage(Object, PrintStream, CommandLine.Help.ColorScheme) - Static method in class picocli.CommandLine
-
Equivalent to
new CommandLine(command).usage(out, colorScheme). - usageHelp() - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Returns whether this option allows the user to request usage help.
- usageHelp() - Method in class picocli.CommandLine.Model.OptionSpec
-
Returns whether this option allows the user to request usage help.
- usageHelp() - Method in annotation type picocli.CommandLine.Option
-
Set
usageHelp=truefor the--helpoption that triggers display of the usage help message. - usageHelp(boolean) - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Sets whether this option allows the user to request usage help, and returns this builder.
- usageHelpWidth() - Method in annotation type picocli.CommandLine.Command
-
Set the
usage help message width. - usageMessage() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the usage help message specification for this command.
- usageMessage(CommandLine.Model.UsageMessageSpec) - Method in class picocli.CommandLine.Model.CommandSpec
-
Initializes the usageMessage specification for this command from the specified settings and returns this commandSpec.
- UsageMessageSpec() - Constructor for class picocli.CommandLine.Model.UsageMessageSpec
- useAnsi(CommandLine.Help.Ansi) - Method in class picocli.CommandLine.AbstractHandler
-
Sets the ANSI style to use.
- useErr(PrintStream) - Method in class picocli.CommandLine.AbstractHandler
-
Sets the stream to print diagnostic messages to.
- useOut(PrintStream) - Method in class picocli.CommandLine.AbstractHandler
-
Sets the stream to print command output to.
- userObject() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the user object associated with this command.
- useSimplifiedAtFiles() - Method in class picocli.CommandLine.Model.ParserSpec
- useSimplifiedAtFiles(boolean) - Method in class picocli.CommandLine.Model.ParserSpec
V
- valueOf(boolean) - Static method in enum picocli.CommandLine.Help.Ansi
-
Returns Ansi.ON if the specified
enabledflag is true, Ansi.OFF otherwise. - valueOf(String) - Static method in enum com.github.jy2.commandline.picocli.tf.format.TfDisplayFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.jy2.logs.console.utils.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum picocli.CommandLine.Help.Ansi.Style
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum picocli.CommandLine.Help.Ansi
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum picocli.CommandLine.Help.Column.Overflow
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum picocli.CommandLine.Help.Visibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class picocli.CommandLine.Range
-
Leniently parses the specified String as an
Rangevalue and return the result. - values() - Static method in enum com.github.jy2.commandline.picocli.tf.format.TfDisplayFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.jy2.logs.console.utils.LogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum picocli.CommandLine.Help.Ansi.Style
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum picocli.CommandLine.Help.Ansi
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum picocli.CommandLine.Help.Column.Overflow
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum picocli.CommandLine.Help.Visibility
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Method in annotation type picocli.CommandLine.Command
-
Version information for this command, to print to the console when the user specifies an option to request version help.
- version() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns version information for this command, to print to the console when the user specifies an option to request version help.
- version(String...) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets version information literals for this command, to print to the console when the user specifies an option to request version help.
- VERSION - Static variable in class picocli.CommandLine
-
This is picocli version "3.9.6".
- versionHelp() - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Returns whether this option allows the user to request version information.
- versionHelp() - Method in class picocli.CommandLine.Model.OptionSpec
-
Returns whether this option allows the user to request version information.
- versionHelp() - Method in annotation type picocli.CommandLine.Option
-
Set
versionHelp=truefor the--versionoption that triggers display of the version information. - versionHelp(boolean) - Method in class picocli.CommandLine.Model.OptionSpec.Builder
-
Sets whether this option allows the user to request version information, and returns this builder.
- versionProvider() - Method in annotation type picocli.CommandLine.Command
-
Class that can provide version information dynamically at runtime.
- versionProvider() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the version provider for this command, to generate the
CommandLine.Model.CommandSpec.version()strings. - versionProvider(CommandLine.IVersionProvider) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets version provider for this command, to generate the
CommandLine.Model.CommandSpec.version()strings.
W
- WARN - com.github.jy2.logs.console.utils.LogLevel
- width - Variable in class picocli.CommandLine.Help.Column
-
Column width in characters
- width() - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Returns the maximum usage help message width.
- width(int) - Method in class picocli.CommandLine.Model.UsageMessageSpec
-
Sets the maximum usage help message width to the specified value.
- withToString(String) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets the string representation of this command, used in error messages and trace messages.
- WRAP - picocli.CommandLine.Help.Column.Overflow
- wrapWithoutInspection(Object) - Static method in class picocli.CommandLine.Model.CommandSpec
-
Creates and returns a new
CommandSpecwith the specified associated user object.
All Classes All Packages