Skip to main content
Module

x/dyr/deps.ts>Command#complete

Access Yr's weather API and Nominatim's API with Deno
Go to Latest
method Command.prototype.complete
Re-export
import { Command } from "https://deno.land/x/dyr@v2.0.1/deps.ts";

Register global complete handler.

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.

Register complete handler.

Parameters

name: string

The name of the completion.

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

The callback method to complete the type.

optional
options: CompleteOptions

Complete options.