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

x/cliffy/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.14.3/mod.ts";

Classes

Base command implementation without pre configured command's and option's.

Generates source code for interactive shell completions used in multiple shell's.

c
GenericInput
abstract
c
GenericList
abstract
c
GenericPrompt
abstract

Generates well formatted and colored help output for specified command.

c
Type
abstract

Enums

Available build-in argument types.

Functions

Find option by flag, name or alias.

Check if option has name or alias.

Normalize command line arguments.

Parse command line arguments.

Validate flags.

Interfaces

Argument details.

Command option options.

Completion options.

Completion settings.

Environment variable settings.

Environment variable options

Example settings.

Flag argument definition.

Flag settings.

Result of the parseFlags method.

Command option settings.

Parse settings.

Result of cmd.parse() method.

Type settings.

Type options.