Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/opinecli/deps.ts>Command#hasCommands

Opine's application generator
Latest
method Command.prototype.hasCommands
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/deps.ts";

Checks whether the command has sub-commands or not.

Parameters

optional
hidden: boolean

Include hidden commands.

Returns

boolean