Skip to main content
Go to Latest
method Command.prototype.getCommand
Re-export
import { Command } from "https://deno.land/x/release_up@0.5.0/deps.ts";

Get command by name or alias.

Type Parameters

C extends Command<any>

Parameters

name: string

Name or alias of the command.

optional
hidden: boolean

Include hidden commands.

Returns

C | undefined