Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/habitra/deps.ts>Command#getGlobalCommand

Command line tool for HabiTra
Latest
method Command.prototype.getGlobalCommand
Re-export
import { Command } from "https://deno.land/x/habitra@v0.3.0/deps.ts";

Get global 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