No API in this release is deprecated for removal.
| Since | Deprecated Item and Description |
|---|---|
picocli.
the return type of this handler R, The type of the handler subclass; for fluent API method chaining T extends CommandLine. | |
picocli.
use | |
picocli.
Deprecated as a consequence of | |
picocli.
use | |
picocli.
the annotated object to create usage help for command, CommandLine.the color scheme to use colorScheme | |
Returns: the Text object at the specified row and columnthe row of the cell whose Text to return row, int the column of the cell whose Text to return col)use | |
picocli.
whether to emit ANSI escape codes or not ansi,the width of each table column (all columns have zero indent) columnWidths)use | |
picocli.
whether to emit ANSI escape codes or not ansi,columns to construct this TextTable with columnsuse | |
picocli.
whether to emit ANSI escape codes or not ansi,the total width of the columns combined usageHelpWidth)use | |
picocli.
whether to emit ANSI escape codes or not ansi,the width of the long options column longOptionsColumnWidth, int the total width of the columns combined usageHelpWidth)use | |
Returns: this Help instance (for method chaining)the name of the subcommand to display in the usage message commandName, Object the command)CommandSpec or @Command annotated object to get more information fromuse | |
Returns: a detailed synopsiscomparator to sort options or optionSort,null if options should not be sortedtrue if boolean short options should be clustered into a single stringuse | |
picocli.
Use | |
picocli.
Deprecated as a consequence of | |
picocli.
the helpCommandLine, CommandLine.CommandLine object associated with this help command. Implementors can use
this to walk the command hierarchy and get access to the help command's parent and sibling commands.whether to use Ansi colors or not ansi,the stream to print the usage help message to out, PrintStream the error stream to print any diagnostic messages to, in addition to the output from the exception handler err)
| |
picocli.
the return type of this handler R>see | |
picocli.
the helpCommandLine, CommandLine.CommandLine object associated with this help command. Implementors can use
this to walk the command hierarchy and get access to the help command's parent and sibling commands.whether to use Ansi colors or not ansi,the stream to print the usage help message to out, PrintStream the error stream to print any diagnostic messages to, in addition to the output from the exception handler err)
| |
picocli.
the return type of this handler R>use | |
picocli.
use | |
Returns: a newRange indicating the default arity of the specified typethe type whose default arity to return type)use | |
picocli.
use | |
picocli.
use | |
picocli.
use | |
picocli.
Deprecated as a consequence of | |
picocli.
Deprecated as a consequence of | |
picocli.
Deprecated as a consequence of | |
picocli.
Deprecated as a consequence of | |
picocli.
Deprecated as a consequence of | |
picocli.
Deprecated as a consequence of | |
Returns: null if an error occurred while parsing the command line options, or if help was requested and printed. Otherwise returns the result of calling the Callablethe command to call when parsing succeeds. callable, String... the command line arguments to parse args)use | |
Returns: null if an error occurred while parsing the command line options, or if help was requested and printed. Otherwise returns the result of calling the Callablethe command to call when parsing succeeds. callable, PrintStream the printStream to print the usage help message to when the user requested help out, String... the command line arguments to parse args)use | |
Returns: null if an error occurred while parsing the command line options, or if help was requested and printed. Otherwise returns the result of calling the Callablethe command to call when parsing succeeds. callable, PrintStream the printStream to print the usage help message to when the user requested help out, CommandLine.the ANSI style to use ansi,the command line arguments to parse args)use | |
Returns: null if an error occurred while parsing the command line options, or if help was requested and printed. Otherwise returns the result of calling the Callablethe command to call when parsing succeeds. callable, PrintStream the printStream to print the usage help message to when the user requested help out, PrintStream the printStream to print diagnostic messages to err, CommandLine.including whether the usage message should include ANSI escape codes or not ansi,the command line arguments to parse args)use | |
Returns: null if an error occurred while parsing the command line options, or if help was requested and printed. Otherwise returns the result of calling the Callableclass of the command to call when parsing succeeds. callableClass, CommandLine.the factory responsible for instantiating the specified callable class and potentially inject other components factory,the command line arguments to parse args)use | |
Returns: null if an error occurred while parsing the command line options, or if help was requested and printed. Otherwise returns the result of calling the Callableclass of the command to call when parsing succeeds. callableClass, CommandLine.the factory responsible for instantiating the specified callable class and potentially injecting other components factory,the printStream to print the usage help message to when the user requested help out, String... the command line arguments to parse args)use | |
Returns: null if an error occurred while parsing the command line options, or if help was requested and printed. Otherwise returns the result of calling the Callableclass of the command to call when parsing succeeds. callableClass, CommandLine.the factory responsible for instantiating the specified callable class and potentially injecting other components factory,the printStream to print the usage help message to when the user requested help out, CommandLine.the ANSI style to use ansi,the command line arguments to parse args)use | |
Returns: null if an error occurred while parsing the command line options, or if help was requested and printed. Otherwise returns the result of calling the Callableclass of the command to call when parsing succeeds. callableClass, CommandLine.the factory responsible for instantiating the specified callable class and potentially injecting other components factory,the printStream to print the usage help message to when the user requested help out, PrintStream the printStream to print diagnostic messages to err, CommandLine.the ANSI style to use ansi,the command line arguments to parse args)use | |
picocli.
Deprecated as a consequence of | |
picocli.
the class where the cls, String... @Command-annotated method is declared, or a subclassthe command line arguments to parse args)use | |
picocli.
the class where the cls, PrintStream @Command-annotated method is declared, or a subclassthe printstream to print requested help message to out, String... the command line arguments to parse args)use | |
picocli.
the class where the cls, PrintStream @Command-annotated method is declared, or a subclassthe printstream to print requested help message to out, CommandLine.whether the usage message should include ANSI escape codes or not ansi,the command line arguments to parse args)use | |
picocli.
the class where the cls, PrintStream @Command-annotated method is declared, or a subclassthe printStream to print the usage help message to when the user requested help out, PrintStream the printStream to print diagnostic messages to err, CommandLine.whether the usage message should include ANSI escape codes or not ansi,the command line arguments to parse args)use | |
Returns: true if the parser is allowed to split quoted Strings, false otherwise;Most applications should not change the default. The rare application that does need to split parameter values
without respecting quotes should use | |
Returns: a list with the top-level command and any subcommands initialized by this methodthe command line arguments to parse args)use | |
picocli.
use | |
Returns: an object resulting from handling the parse result or the exception that occurred while parsing the inputthe function that will handle the result of successfully parsing the command line arguments handler,the command line arguments args)use | |
picocli.
use | |
Returns: an object resulting from handling the parse result or the exception that occurred while parsing the inputthe function that will handle the result of successfully parsing the command line arguments handler,the function that can handle the exceptionHandler,ParameterException thrown when the command line arguments are invalidthe command line arguments args)use | |
picocli.
use | |
Returns: true if help was printed, false otherwisethe list of parsedCommands, PrintStream CommandLine objects to check if help was requestedthe out, PrintStream PrintStream to print help to if requestedthe error string to print diagnostic messages to, in addition to the output from the exception handler err, CommandLine.for printing help messages using ANSI styles and colors ansiuse | |
Returns: true if help was printed, false otherwisethe list of parsedCommands, PrintStream CommandLine objects to check if help was requestedthe out, PrintStream PrintStream to print help to if requestedthe error string to print diagnostic messages to, in addition to the output from the exception handler err, CommandLine.for printing help messages using ANSI styles and colors colorSchemeuse | |
picocli.
the command to run when parsing succeeds. runnable, String... the command line arguments to parse args)use | |
picocli.
the command to run when parsing succeeds. runnable, PrintStream the printStream to print the usage help message to when the user requested help out, String... the command line arguments to parse args)use | |
picocli.
the command to run when parsing succeeds. runnable, PrintStream the printStream to print the usage help message to when the user requested help out, CommandLine.whether the usage message should include ANSI escape codes or not ansi,the command line arguments to parse args)use | |
picocli.
the command to run when parsing succeeds. runnable, PrintStream the printStream to print the usage help message to when the user requested help out, PrintStream the printStream to print diagnostic messages to err, CommandLine.whether the usage message should include ANSI escape codes or not ansi,the command line arguments to parse args)use | |
picocli.
class of the command to run when parsing succeeds. runnableClass, CommandLine.the factory responsible for instantiating the specified Runnable class and potentially injecting other components factory,the command line arguments to parse args)use | |
picocli.
class of the command to run when parsing succeeds. runnableClass, CommandLine.the factory responsible for instantiating the specified Runnable class and potentially injecting other components factory,the printStream to print the usage help message to when the user requested help out, String... the command line arguments to parse args)use | |
picocli.
class of the command to run when parsing succeeds. runnableClass, CommandLine.the factory responsible for instantiating the specified Runnable class and potentially injecting other components factory,the printStream to print the usage help message to when the user requested help out, CommandLine.whether the usage message should include ANSI escape codes or not ansi,the command line arguments to parse args)use | |
picocli.
class of the command to run when parsing succeeds. runnableClass, CommandLine.the factory responsible for instantiating the specified Runnable class and potentially injecting other components factory,the printStream to print the usage help message to when the user requested help out, PrintStream the printStream to print diagnostic messages to err, CommandLine.whether the usage message should include ANSI escape codes or not ansi,the command line arguments to parse args)use | |
Returns: thisCommandLine object, to allow method chainingthe new setting newValue)Most applications should not change the default. The rare application that does need to split parameter values
without respecting quotes should use |