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

x/opinecli/deps.ts>Command#complete

Opine's application generator
Latest
method Command.prototype.complete
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/deps.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