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

x/capi/deps/cliffy.ts

[WIP] A framework for crafting interactions with Substrate chains
Latest
import * as capi from "https://deno.land/x/capi@v0.1.1-beta.1/deps/cliffy.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.

String type with auto completion of sibling 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.

Integer type.

Number type.

c
Provider
abstract

String type. Allows any value.

c
Type
abstract

Base class for custom types.

Interfaces

Argument details.

Type details.

Result of cmd.parse() method.

Completion options.

Completion settings.

Environment variable settings.

Environment variable options

Example settings.

Environment variable options

Command option options.

Command option settings.

Type settings.

Type options.

Type Aliases

Action handler for commands and options.

Type parser method.

Default flag value

Description handler.

Description handler.

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

T
IAction
deprecated
T
IArgument
deprecated
T
ICommandOption
deprecated
T
ICompleteHandler
deprecated
T
ICompleteOptions
deprecated
T
ICompletion
deprecated
T
IDescription
deprecated
T
IEnvVar
deprecated
T
IEnvVarOptions
deprecated
T
IExample
deprecated
T
IHelpHandler
deprecated
T
IOption
deprecated
T
IParseResult
deprecated
T
IType
deprecated
T
ITypeOptions
deprecated
T
IVersionHandler
deprecated

Custom type handler/parser.

T
TypeValue
deprecated

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