Skip to main content
Module

x/dyr/deps.ts>Command#getBaseCommand

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

Get base command by name or alias.

Type Parameters

TCommand extends Command<any>

Parameters

name: string

Name or alias of the command.

optional
hidden: boolean

Include hidden commands.

Returns

TCommand | undefined