Skip to main content
Module

x/dyr/deps.ts>Command#select

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

Set internal command pointer to child command with given name.

Type Parameters

optional
TOptions extends Record<string, unknown> | void = any
optional
TArguments extends Array<unknown> = any
optional
TGlobalOptions extends Record<string, unknown> | void = any

Parameters

name: string

The name of the command to select.

Returns

Command<TParentCommandGlobals, TParentCommandTypes, TOptions, TArguments, TGlobalOptions, TCommandTypes, TCommandGlobalTypes, TParentCommand>