ExpressibleByArgument
A type that can be expressed as a command-line argument.
protocol ExpressibleByArgument
A type that can be expressed as a command-line argument.
protocol ExpressibleByArgument
init?(argument: String)
Creates a new instance of this type from a command-line-specified argument.
static var allValueStrings: [String]
An array of all possible strings to that can convert to value of this type.
static var defaultCompletionKind: CompletionKind
The completion kind to use for options or arguments of this type that don’t explicitly declare a completion kind.
var defaultValueDescription: String
The description of this instance to show as a default value in a command-line tool’s help screen.
static var allValueStrings: [String]
An array of all possible strings to that can convert to value of this type.
static var allValueStrings: [String]
An array of all possible strings to that can convert to value of this type.
static var allValueStrings: [String]
An array of all possible strings to that can convert to value of this type.
static var defaultCompletionKind: CompletionKind
The completion kind to use for options or arguments of this type that don’t explicitly declare a completion kind.
static var defaultCompletionKind: CompletionKind
The completion kind to use for options or arguments of this type that don’t explicitly declare a completion kind.
var defaultValueDescription: String
The description of this instance to show as a default value in a command-line tool’s help screen.