Skip to main content
Module

x/cliffy/mod.ts>BaseCommand#hasCommand

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method BaseCommand.prototype.hasCommand
Re-export
import { BaseCommand } from "https://deno.land/x/cliffy@v0.7.1/mod.ts";

Checks whether the command has a sub-command with given name or not.

Parameters

name: string

Name of the command.

Returns

boolean