class ZshCompletionsCommand
extends DefaultCommand
import { ZshCompletionsCommand } from "https://dotland.deno.dev/x/cliffy@v0.6.1/packages/command/commands/completions/zsh.ts";
Generates zsh completion code.
Constructors
new
ZshCompletionsCommand(parent: BaseCommand)Methods
private
generateCompletions(command: BaseCommand, root?: boolean): stringGenerates zsh completions method for given command and child commands.
protected
addAction(arg: IArgumentDetails, cmd: string): IActionprotected
generateActions(command: BaseCommand): stringprotected
generateArgumentCompletions(command: BaseCommand): stringprotected
generateCommandCompletions(command: BaseCommand): stringprotected
generateOption(): stringprotected
generateOptions(command: BaseCommand)protected
generateSubCommandCompletions(command: BaseCommand): stringcommand(): this