Skip to main content
Deno 2 is finally here 🎉️
Learn more
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
import { DefaultCommand } from "https://deno.land/x/cliffy@v0.3.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()

Methods

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