Skip to main content
Module

x/scaffold/src/deps/cli.ts>Command#hasCommand

scaffold your next project with style and 💗
Latest
method Command.prototype.hasCommand
Re-export
import { Command } from "https://deno.land/x/scaffold@0.3.0/src/deps/cli.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