clikt / com.github.ajalt.clikt.completion / CompletionCandidates

CompletionCandidates

sealed class CompletionCandidates

Configurations for generating shell autocomplete suggestions

Types

Name Summary
Custom Complete the parameter with words emitted from a custom script.data class Custom :CompletionCandidates
Fixed Complete the parameter with a fixed set of stringsdata class Fixed :CompletionCandidates
Hostname Complete with entries in the system’s hostfileobject Hostname :CompletionCandidates
None Do not autocomplete this parameterobject None :CompletionCandidates
Path Complete with filesystem pathsobject Path :CompletionCandidates
Username Complete with usernames from the current systemobject Username :CompletionCandidates