Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/packages/command/lib/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://deno.land/x/cliffy@v0.3.0/packages/command/lib/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