Function shellCompletion

  • Generate shell completion for the provided shell, based on the provided parser configuration. This function will not validate whether a shell is known to us or not. Use canCompleteShell for this.

    Returns

    The generated completion string

    Parameters

    • shell: "zsh" | "fish" | "bash"

      The shell to genrate completions for

    • parser: Args<{}>

      The parser configuration to use

    Returns string

Generated using TypeDoc