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

x/cliffy/command/mod.ts

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
import * as cliffy from "https://deno.land/x/cliffy@v0.18.0/command/mod.ts";

Classes

Completion list type.

Boolean type with auto completion. Allows true, false, 0 and 1.

String type with auto completion of child command names.

Generates shell completion scripts for various shell's.

Generates well formatted and colored help output for specified command.

Number type.

String type. Allows any value.

c
Type
abstract

Base class for custom types.

A validation error is thrown when the command is wrongly used by the user. For example: If the user passes some invalid options or arguments to the command.

Interfaces

Argument details.

Command option options.

Completion options.

Completion settings.

Environment variable settings.

Environment variable options

Example settings.

Command option settings.

Result of cmd.parse() method.

Type settings.

Type details.

Type options.

Type Aliases

Action handler for commands and options.

Type parser method.

Default flag value

Description handler.

Value handler for custom value processing.

Help callback method to print the help. Invoked by the --help option and help command and the .getHelp() and .showHelp() method's.

Custom type handler/parser.