Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Cliffy.Command.prototype.complete
Re-export
import { Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/original_deps.ts";
const { Command } = Cliffy;

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