Module

x/cliffy/mod.ts>Command#hasCommands

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

Checks whether the command has sub-commands or not.

Parameters

optional
hidden: boolean

Include hidden commands.

Returns

boolean