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

x/habitra/deps.ts>Command#complete

Command line tool for HabiTra
Latest
method Command.prototype.complete
Re-export
import { Command } from "https://deno.land/x/habitra@v0.3.0/deps.ts";

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