Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ndeno/src/deps.ts>Command#complete

Command line tool created by deno to manage node projects | deno 实现的 node 项目包管理命令工具
Go to Latest
method Command.prototype.complete
Re-export
import { Command } from "https://deno.land/x/ndeno@v1.3.1/src/deps.ts";

Register command specific custom type.

Parameters

name: string

The name of the completion.

complete: CompleteHandler<Partial<TCommandOptions>, Partial<TCommandArguments>, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, any>

The callback method to complete the type.

options: CompleteOptions & { global: boolean; }

Complete options.

Parameters

name: string
complete: CompleteHandler<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>
optional
options: CompleteOptions