completionScript(for:)

Returns a shell completion script for the specified shell.

ParsableArguments.swift:186
static func completionScript(for shell: CompletionShell) -> String

Parameters

shell

The shell to generate a completion script for.

Returns

The completion script for shell.