Builder
Properties
If true, short options can be grouped together after a single -
.
If false, options and arguments cannot be mixed; the first time an argument is encountered, all remaining tokens are parsed as arguments.
The prefix to add to inferred envvar names.
A map holding arbitrary data on the context.
The function to call to echo messages when CliktCommand.echo
is called.
The function to call to exit the process with a status code.
If true, arguments starting with @
will be expanded as argument files. If false, they will be treated as normal arguments.
A lambda returning the help formatter for this command, or null to use the default
The names to use for the help option.
Localized strings to use for help output and error reporting.
Set an arbitrary object on the context.
Set this to false to prevent extra messages from being printed automatically.
A block that returns the content of an argument file for a given filename.
A function called by Clikt to get a parameter value from a given environment variable
If false
,the valueSource is searched before environment variables.
A callback called when the command line contains an invalid option or subcommand name. It takes the entered name and a list of all registered names option/subcommand names and filters the list down to values to suggest to the user.
An optional transformation function that is called to transform command line
The source that will attempt to read values for options that aren't present on the command line.