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

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

Classes

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.

Enums

Available build-in argument types.

Variables

Boolean type handler. Excepts true, false, 1, 0

Number type handler. Excepts any numeric value.

String type handler. Excepts any value.

Functions

Normalize command line arguments.

Parse command line arguments.

Flags post validation. Validations that are not already done by the parser.

Interfaces

Flag argument definition.

Flag options.

Result of the parseFlags method.

Parser options.

Type details.

Type Aliases

Default flag value

Value handler for custom value processing.

Custom type handler/parser.