Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/alloy_folk/deps.ts>cliffy.Command#complete

An application installer for restriced macOS
Latest
method cliffy.Command.prototype.complete
Re-export
import { cliffy } from "https://deno.land/x/alloy_folk@v1.1.2/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, CPG, CT, CGT, CPT, any>

The callback method to complete the type.

options: ICompleteOptions & { global: boolean; }

Complete options.

Parameters

name: string
complete: ICompleteHandler<CO, CA, CG, CPG, CT, CGT, CPT, CP>
optional
options: ICompleteOptions