Module

x/cliffy/mod.ts>BaseCommand#command

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

Add new sub-command.

Parameters

nameAndArguments: string
optional
cmd: BaseCommand | string
optional
override: boolean