Package-level declarations

Types

Link copied to clipboard

Configurations for generating shell autocomplete suggestions

Link copied to clipboard
class CompletionCommand(help: String = "Generate a tab-complete script for the given shell", epilog: String = "", name: String = "generate-completion") : CliktCommand

A subcommand that will print a completion script for the given shell when invoked.

Functions

Link copied to clipboard
fun <T : CliktCommand> T.completionOption(vararg names: String = arrayOf("--generate-completion"), help: String = "", hidden: Boolean = false): T

Add an option to a command that will print a completion script for the given shell when invoked.