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

x/feomasto/priv/deps.ts>command.Command#complete

Sync posts from Mastodon into FeoBlog
Latest
method command.Command.prototype.complete
Re-export
import { command } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts";
const { Command } = command;

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