Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/packages/command/commands/completions/zsh.ts>ZshCompletionsCommand

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class ZshCompletionsCommand
import { ZshCompletionsCommand } from "https://deno.land/x/cliffy@v0.3.0/packages/command/commands/completions/zsh.ts";

Generates zsh completion code.

Constructors

new
ZshCompletionsCommand(parent: BaseCommand)

Methods

private
generateCompletions(command: BaseCommand): string

Generates zsh completions method for given command and child commands.

protected
generate(): string

Generates zsh completions code.

command(
nameAndArguments: string,
cmd?: BaseCommand | string,
override?: boolean,
): this