Module

x/nessie/deps.ts>CliffyCommand#hasCommand

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
method CliffyCommand.prototype.hasCommand
import { CliffyCommand } from "https://dotland.deno.dev/x/nessie@2.0.9/deps.ts";

Checks whether a child command exists by given name or alias.

Parameters

name: string

Name or alias of the command.

optional
hidden: boolean

Include hidden commands.

Returns

boolean