Skip to main content
Module

x/omdb/deps.ts>Command#getBaseCommand

Access OMDb's API with Deno.
Go to Latest
method Command.prototype.getBaseCommand
Re-export
import { Command } from "https://deno.land/x/omdb@v2.0.0/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