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

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

An application installer for restriced macOS
Go to Latest
method cliffy.Command.prototype.complete
Re-export
import { cliffy } from "https://deno.land/x/alloy_folk@v1.1.1/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