Skip to main content
Latest
method cli.Command.prototype.complete
Re-export
import { cli } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { Command } = cli;

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