import { ZshCompletionsGenerator } from "https://deno.land/x/cliffy@v0.12.1/packages/command/lib/zsh-completions-generator.ts";
Constructors
new
private
ZshCompletionsGenerator(cmd: Command)Methods
private
addAction(arg: IArgumentDetails, cmd: string): ICompletionActionprivate
generate(): stringGenerates zsh completions code.
private
generateActions(command: Command): stringprivate
generateArgumentCompletions(command: Command, path: string): stringprivate
generateCommandCompletions(command: Command, path: string): stringprivate
generateCompletions(command: Command, path?: string): stringGenerates zsh completions method for given command and child commands.
private
generateOption(): stringprivate
generateOptions(command: Command, path: string)private
generateSubCommandCompletions(command: Command, path: string): string