Module

x/cliffy/packages/command/mod.ts>Command

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

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

  • command's: help Output's autogenerated help. completions Output's autogenerated shell completion script for bash and zsh.
  • option's: -h, --help Output's autogenerated help. -V, --version Output's version number

Constructors

new
Command()

Type Parameters

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

Methods

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