Skip to main content
Module

x/deno_books/deps.ts>Command#getBaseCommand

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