Module

x/nessie/deps.ts>CliffyCommand#complete

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Latest
method CliffyCommand.prototype.complete
import { CliffyCommand } from "https://dotland.deno.dev/x/nessie@2.0.11/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