deno.land / x / cliffy@v0.24.2 / command / mod.ts

import * as cliffy from "https://deno.land/x/cliffy@v0.24.2/command/mod.ts";

Classes

ActionListType

Completion list type.

BooleanType

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

ChildCommandType

String type with auto completion of child command names.

Command
CompletionsCommand

Generates shell completion scripts for various shells.

EnumType

Enum type. Allows only provided values.

FileType

Integer type.

HelpCommand

Generates well formatted and colored help output for specified command.

NumberType

Number type.

StringType

String type. Allows any value.

Type abstract

Base class for custom types.

ValidationError

Interfaces

IArgument

Argument details.

ICommandGlobalOption

Command option options.

ICommandOption
ICompleteOptions

Completion options.

ICompletion

Completion settings.

IEnvVar

Environment variable settings.

IEnvVarOptions

Environment variable options

IExample

Example settings.

IGlobalEnvVarOptions

Environment variable options

IOption

Command option settings.

IParseResult

Result of cmd.parse() method.

IType

Type settings.

ITypeInfo

Type details.

ITypeOptions

Type options.

ValidationErrorOptions

Type Aliases

CompleteHandlerResult
IAction

Action handler for commands and options.

ICompleteHandler

Type parser method.

IDefaultValue

Default flag value

IDescription

Description handler.

IEnvVarValueHandler
IFlagValueHandler

Value handler for custom value processing.

IHelpHandler

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

ITypeHandler

Custom type handler/parser.

IVersionHandler

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

MapTypes
TypeOrTypeHandler
TypeValue
ValuesHandlerResult
cliffy
Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
GitHub Stars
403

Version Info

Tagged at
a month ago

External Dependencies

1 external dependency