Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ndeno/src/deps.ts>Command#getBaseCommand

js runtime project management tool / js runtime 项目管理工具
Go to Latest
method Command.prototype.getBaseCommand
import { Command } from "https://deno.land/x/ndeno@v2.0.6/src/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