completionScript(for:)
Returns a shell completion script for the specified shell.
static func completionScript(for shell: CompletionShell) -> String
Parameters
- shell
The shell to generate a completion script for.
Returns
The completion script for shell
.