Package-level declarations

Types

Link copied to clipboard
class ArgumentInvocation(val argument: Argument, val values: List<String>)

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

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
data class OptionInvocation(val name: String, val values: List<String>)

The output of parsing a single option and its values.

Functions

Link copied to clipboard

Flatten a command invocation into a sequence of invocations.