A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
M
- main(String...) - Static method in class picocli.AutoComplete
-
Generates a bash completion script for the specified command class.
- main(String...) - Static method in class picocli.codegen.aot.graalvm.DynamicProxyConfigGenerator
-
Runs this class as a standalone application, printing the resulting JSON String to a file or to
System.out
. - main(String...) - Static method in class picocli.codegen.aot.graalvm.JniConfigGenerator
-
Runs this class as a standalone application, printing the resulting JSON String to a file or to
System.out
. - main(String...) - Static method in class picocli.codegen.aot.graalvm.ReflectionConfigGenerator
-
Runs this class as a standalone application, printing the resulting JSON String to a file or to
System.out
. - main(String...) - Static method in class picocli.codegen.aot.graalvm.ResourceConfigGenerator
-
Runs this class as a standalone application, printing the resulting JSON String to a file or to
System.out
. - main(String[]) - Static method in class picocli.codegen.docgen.manpage.ManPageGenerator
-
Invokes
ManPageGenerator.generateManPage(Config, CommandLine.Model.CommandSpec...)
to generate man pages for the user-specified@Command
-annotated classes. - makeNegative(String, CommandLine.Model.CommandSpec) - Method in interface picocli.CommandLine.INegatableOptionTransformer
-
Returns the negative form of the specified option name for the parser to recognize when parsing command line arguments.
- makeNegative(String, CommandLine.Model.CommandSpec) - Method in class picocli.CommandLine.RegexTransformer
-
Returns the negative form of the specified option name for the parser to recognize when parsing command line arguments.
- makeSynopsis(String, CommandLine.Model.CommandSpec) - Method in interface picocli.CommandLine.INegatableOptionTransformer
-
Returns the documentation string to show in the synopsis and usage help message for the specified option.
- makeSynopsis(String, CommandLine.Model.CommandSpec) - Method in class picocli.CommandLine.RegexTransformer
-
Returns the documentation string to show in the synopsis and usage help message for the specified option.
- makeSynopsisFromParts(int, CommandLine.Help.Ansi.Text, CommandLine.Help.Ansi.Text, CommandLine.Help.Ansi.Text, CommandLine.Help.Ansi.Text, CommandLine.Help.Ansi.Text) - Method in class picocli.CommandLine.Help
-
Concatenates the command name and the specified synopsis parts and returns a fully rendered synopsis String.
- ManPageGenerator - Class in picocli.codegen.docgen.manpage
-
Generates AsciiDoc files in a special format that can be converted to HTML, PDF and Unix Man pages.
- ManPageGenerator() - Constructor for class picocli.codegen.docgen.manpage.ManPageGenerator
- mapFallbackValue() - Method in class picocli.CommandLine.Model.ArgSpec
-
Returns the fallback value for this Map option or positional parameter: the value that is put into the Map when only the key is specified for the option or positional parameter, like
-Dkey
instead of-Dkey=value
. - mapFallbackValue() - Method in annotation type picocli.CommandLine.Option
-
For options of type Map, setting the
mapFallbackValue
to any value allows end user to specify key-only parameters for this option. - mapFallbackValue() - Method in annotation type picocli.CommandLine.Parameters
-
For positional parameters of type Map, setting the
mapFallbackValue
to any value allows end user to specify key-only parameters for this parameter. - matchedArgs() - Method in class picocli.CommandLine.ParseResult
-
Returns a list of matched options and positional parameters, in order they were matched on the command line.
- matchedOption(char) - Method in class picocli.CommandLine.ParseResult
-
Returns the option with the specified short name, or
null
if 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
null
if 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 order they were matched on the command line.
- matchedOptionsSet() - Method in class picocli.CommandLine.ParseResult
-
Returns a set of matched options.
- 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
PositionalParamSpec
that matched an argument at the specified position, ornull
if no positional parameters were matched at that position. - matchedPositionals() - Method in class picocli.CommandLine.ParseResult
-
Returns a list of matched positional parameters, in order they were matched on the command line.
- matchedPositionals(int) - Method in class picocli.CommandLine.ParseResult
-
Returns all
PositionalParamSpec
objects that matched an argument at the specified position, or an empty list if no positional parameters were matched at that position. - matchedPositionalsSet() - Method in class picocli.CommandLine.ParseResult
-
Returns a set of matched positional parameters.
- 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.
- matchedSubgroups() - Method in class picocli.CommandLine.ParseResult.GroupMatch
-
Returns matches for the subgroups, if any.
- matchedValues(CommandLine.Model.ArgSpec) - Method in class picocli.CommandLine.ParseResult.GroupMatch
-
Returns the values matched for the specified argument, converted to the type of the argument.
- matches() - Method in class picocli.CommandLine.ParseResult.GroupMatchContainer
-
Returns the list of
GroupMatch
instances:ArgGroupSpec
s with a multiplicity greater than one may be matched multiple times. - max - Variable in class picocli.CommandLine.Range
-
Deprecated.use
CommandLine.Range.max()
instead - max() - Method in class picocli.CommandLine.Range
-
Returns the upper bound of this range (inclusive), or
Integer.MAX_VALUE
if this range has no upper bound. - max(int) - Method in class picocli.CommandLine.Range
-
Returns a new Range object with the
max
value replaced by the specified value. - MaxValuesExceededException(CommandLine, String) - Constructor for exception picocli.CommandLine.MaxValuesExceededException
- messages() - Method in class picocli.CommandLine.Model.ArgGroupSpec
-
Returns the Messages for this argument group specification, or
null
. - 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.ArgGroupSpec
-
Sets the Messages for this ArgGroupSpec, and returns this ArgGroupSpec.
- 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, String) - Constructor for class picocli.CommandLine.Model.Messages
- Messages(CommandLine.Model.CommandSpec, String, ResourceBundle) - Constructor for class picocli.CommandLine.Model.Messages
- Messages(CommandLine.Model.CommandSpec, ResourceBundle) - Constructor for class picocli.CommandLine.Model.Messages
- MethodParam(Method, int) - Constructor for class picocli.CommandLine.Model.MethodParam
- min - Variable in class picocli.CommandLine.Range
-
Deprecated.use
CommandLine.Range.min()
instead - min() - Method in class picocli.CommandLine.Range
-
Returns the lower bound of this range (inclusive).
- min(int) - Method in class picocli.CommandLine.Range
-
Returns a new Range object with the
min
value 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
- MIXEE - picocli.CommandLine.Spec.Target
-
Injects the
CommandSpec
of the "mixee" command that receives the options and other command elements defined here, ornull
if this commands is not mixed into another command. - mixinAnnotatedElements() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns a map of the mixin names to mixin
IAnnotatedElement
objects for this command. - mixins() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns a map of the mixin names to mixin
CommandSpec
objects configured for this command. - mixinStandardHelpOptions() - Method in annotation type picocli.CommandLine.Command
-
Adds the standard
-h
and--help
usageHelp options and-V
and--version
versionHelp options to the options of this command. - mixinStandardHelpOptions() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns
true
if the standard help options have been mixed in with this command,false
otherwise. - mixinStandardHelpOptions(boolean) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets whether the standard help options should be mixed in with this command.
- modelTransformer() - Method in annotation type picocli.CommandLine.Command
-
Returns the model transformer for this command.
- modelTransformer() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns the model transformer for this CommandSpec instance.
- modelTransformer(CommandLine.IModelTransformer) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets the model transformer for this CommandSpec instance.
- multiplicity() - Method in annotation type picocli.CommandLine.ArgGroup
-
Determines how often this group can be specified on the command line;
"0..1"
(optional) by default. - multiplicity() - Method in class picocli.CommandLine.Model.ArgGroupSpec.Builder
-
Returns the multiplicity of this group: how many occurrences it may have on the command line;
"0..1"
(optional) by default. - multiplicity() - Method in class picocli.CommandLine.Model.ArgGroupSpec
-
Returns the multiplicity of this group: how many occurrences it may have on the command line;
"0..1"
(optional) by default. - multiplicity(String) - Method in class picocli.CommandLine.Model.ArgGroupSpec.Builder
-
Sets the multiplicity of this group: how many occurrences it may have on the command line;
"0..1"
(optional) by default. - multiplicity(CommandLine.Range) - Method in class picocli.CommandLine.Model.ArgGroupSpec.Builder
-
Sets the multiplicity of this group: how many occurrences it may have on the command line;
"0..1"
(optional) by default. - MutuallyExclusiveArgsException(CommandLine, String) - Constructor for exception picocli.CommandLine.MutuallyExclusiveArgsException
All Classes All Packages