Package-level declarations
Types
Link copied to clipboard
The output of parsing a single argument and its values.
Link copied to clipboard
class CommandInvocation<T : BaseCliktCommand<T>>(val command: T, val optionInvocations: Map<Option, List<OptionInvocation>>, val argumentInvocations: List<ArgumentInvocation>, val subcommandInvocations: List<CommandInvocation<T>>, val errors: List<CliktError>)
The output of parsing a single command and its options and arguments.
Link copied to clipboard
object CommandLineParser
Methods for parsing command lines and running commands manually.
Link copied to clipboard
class CommandLineParseResult<T : BaseCliktCommand<T>>(val invocation: CommandInvocation<T>, val originalArgv: List<String>, val expandedArgv: List<String>)
The result of parsing a command line.
Link copied to clipboard
Link copied to clipboard
The output of parsing a single option and its values.
Functions
Link copied to clipboard
fun <T : BaseCliktCommand<T>> CommandInvocation<T>.flatten(finalize: Boolean = true): FlatInvocations<T>
Flatten a command invocation into a sequence of invocations.