Module

x/cliffy/packages/command/lib/default-command.ts>DefaultCommand

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class DefaultCommand
extends BaseCommand<O, A>
import { DefaultCommand } from "https://dotland.deno.dev/x/cliffy@v0.8.0/packages/command/lib/default-command.ts";

A command with pre configured command's and option's:

  • command's: help Output's autogenerated help.
  • option's: -h, --help Output's autogenerated help. -V, --version Output's version number

Constructors

new
DefaultCommand()

Type Parameters

optional
O = any
optional
A extends Array<any> = any

Methods

command(
nameAndArguments: string,
cmd?: BaseCommand | string,
override?: boolean,
): this