Skip to main content

parse_completion_shell

Function parse_completion_shell 

Source
pub fn parse_completion_shell(
    s: &str,
) -> Result<CompletionShell, CompletionShellError>
Expand description

Parse a user-supplied shell name into a known completion target.

Accepts only the exact lowercase tokens bash, zsh, and fish.