Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cliffy/packages/command/lib/base-command.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://deno.land/x/cliffy@v0.7.1/packages/command/lib/base-command.ts";

Add new sub-command.

Parameters

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