Static Propertyswift-argument-parser 1.6.1ArgumentParser
fish
An instance representing fish
.
static var fish: CompletionShell { get }
An instance representing fish
.
static var fish: CompletionShell { get }
import ArgumentParser
Straightforward, type-safe argument parsing for Swift.
struct CompletionShell
A shell for which the parser can generate a completion script.
init?(rawValue: String)
Creates a new instance from the given string.
static var allCases: [CompletionShell] { get }
An array of all supported shells for completion scripts.
static var bash: CompletionShell { get }
An instance representing bash
.
static var requesting: CompletionShell? { get }
The shell for which completions will be or are being requested.
static var requestingVersion: String? { get }
The shell version for which completions will be or are being requested.
static var zsh: CompletionShell { get }
An instance representing zsh
.
static func autodetected() -> CompletionShell?
Returns an instance representing the current shell, if recognized.
var rawValue: String