Module

x/cliffy/command/command.ts>Command#complete

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method Command.prototype.complete
import { Command } from "https://dotland.deno.dev/x/cliffy@v0.19.2/command/command.ts";

Register command specific custom type.

Parameters

name: string

The name of the completion.

complete: ICompleteHandler<Partial<CO>, Partial<CA>, CG, PG, any>

The callback method to complete the type.

options: ICompleteOptions & { global: boolean; }

Complete options.

Parameters

name: string
complete: ICompleteHandler<CO, CA, CG, PG, P>
optional
options: ICompleteOptions