Module

x/cliffy/mod.ts>Command#getGlobalCommand

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method Command.prototype.getGlobalCommand
import { Command } from "https://dotland.deno.dev/x/cliffy@v0.17.2/mod.ts";

Get global command by name.

Type Parameters

optional
O = any

Parameters

name: string

Name of the command.

optional
hidden: boolean

Include hidden commands.

Returns

Command<O> | undefined