Skip to main content
Module

x/nessie/deps.ts>CliffyCommand#getCommand

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
method CliffyCommand.prototype.getCommand
Re-export
import { CliffyCommand } from "https://deno.land/x/nessie@2.0.7/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