The CliktCommand is the core of command line interfaces in Clikt.
Command line interfaces created by creating a subclass of CliktCommand with properties defined with option and argument. You can then parse
argv by calling main, which will take care of printing errors and help to the user. If you want to handle output yourself, you can use parse instead.
Once the command line has been parsed and all of the parameters are populated, run is called.
The help for this command. The first line is used in the usage string, and the entire string is used in the help output. Paragraphs are automatically re-wrapped to the terminal width.
Text to display at the end of the full help output. It is automatically re-wrapped to the terminal width.
The name of the program to use in the help output. If not given, it is inferred from the class name.
Extra information about this option to pass to the help formatter.
The envvar to use to enable shell autocomplete script generation. Set to null to disable generation.
If true, allow multiple of this command's subcommands to be called sequentially. This will disable
allowInterspersedArgs on the context of this command an its descendants. This functionality is experimental, and may change in a future release.
If true, any options on the command line whose names aren't valid will be parsed as an argument rather than reporting an error. You'll need to define an
argument().multiple() to collect these options, or an error will still be reported. Unknown short option flags grouped with other flags on the command line will always be reported as errors.