StructureArgumentParser
CompletionKind
The type of completion to use for an argument or option.
struct CompletionKind
The type of completion to use for an argument or option.
struct CompletionKind
static var `default`: CompletionKind
Use the default completion kind for the value’s type.
static var directory: CompletionKind
Complete directory names.
static func custom(([String]) -> [String]) -> CompletionKind
Generate completions using the given closure.
static func file(extensions: [String]) -> CompletionKind
Complete file names.
static func list([String]) -> CompletionKind
Use the specified list of completion strings.
static func shellCommand(String) -> CompletionKind
Call the given shell command to generate completions.