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.24.3/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 shells.

Enum type. Allows only provided values.

Integer type.

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.

Interfaces

Argument details.

Command option options.

Completion options.

Completion settings.

Environment variable settings.

Environment variable options

Example settings.

Environment variable options

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() methods.

Custom type handler/parser.

Version callback method to print the version. Invoked by the --help option command and the .getVersion() and .showHelp() methods.