Module

x/cliffy/command.ts>Command

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class Command
import { Command } from "https://dotland.deno.dev/x/cliffy@v0.6.0/command.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()

Methods

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