Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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
Re-export
import { CliffyCommand } from "https://deno.land/x/nessie@2.0.10/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