import * as args from "https://deno.land/x/args@2.1.1/index.ts";
Classes
Class of error created by | |
Class of error created by | |
Base class of all | |
| |
Base class of all | |
| |
| |
| |
| |
| |
Base class of all | |
| |
| |
| |
Base class of all |
Variables
v args | Starting point of parser construction pipeline |
Declare a binary flag:
| |
Starting point of a command parser construction chain | |
Declare an option that collects value after flags | |
Starting point of a command parser construction chain | |
Assign description to a command parser during construction chain | |
Add a flag parser on top of existing command parser | |
Merge two command parsers | |
Create a failure for | |
Declare add subcommand to existing command parser | |
Declare a count flag: Value is number of occurrences | |
Starting point of parser construction pipeline | |
Assign description to a command parser during construction chain | |
Set | |
Set | |
Declare an option that drains all arguments after the flag | |
Declare a flag that terminates the program | |
Type and parser of all number values except NaN and Infinity | |
v Flag | Declare a binary flag:
|
Add a flag parser on top of existing command parser | |
Declare a binary flag:
| |
Declare an option that collects value after flags | |
Declare a count flag: Value is number of occurrences | |
Set | |
Set | |
Declare an option that drains all arguments after the flag | |
Declare a flag that terminates the program | |
Declare a binary flag:
| |
Declare an option, including:
| |
Turn an option partial:
| |
Declare a partial option:
| |
Type and parser of all BigInt values | |
Value of | |
Merge two command parsers | |
Declare an option, including:
| |
Value of | |
Create a failure for | |
Turn an option partial:
| |
Declare a partial option:
| |
Declare add subcommand to existing command parser | |
Value of | |
Value of | |
v Text | Type and parser of text (string) value |
Type and parser of all number values except NaN and Infinity | |
Type and parser of all BigInt values | |
Type and parser of text (string) value |
Functions
Create type and parser of choice (union) | |
Create type and parser of choice (union) |
Interfaces
Double dash variant of ArgvItem | |
Multiple flag variant of ArgvItem | |
Single flag variant of ArgvItem | |
Value variant of ArgvItem | |
Interface of descriptor of CollectOption | |
Interface of a command parser | |
Interface of component of help message of command parser | |
Interface of parsing failure | |
Interface of a main command variant | |
Interface of a sub command variant | |
Interface of a command parser | |
Interface of component of help message of command parser | |
Interface of parsing failure | |
Interface of a main command variant | |
Interface of a sub command variant | |
Interface of descriptor of DrainOption | |
Type of return value of DrainOptionFilterFunc | |
Type of | |
Interface of descriptor of EarlyExitFlag | |
I Err | Failure variant of Result |
Interface of descriptor of BinaryFlag and CountFlag | |
Interface of a help item | |
Interface of descriptor of CollectOption | |
Interface of descriptor of DrainOption | |
Type of return value of DrainOptionFilterFunc | |
Type of | |
Interface of descriptor of EarlyExitFlag | |
Interface of descriptor of BinaryFlag and CountFlag | |
Interface of descriptor of Option | |
Interface of descriptor of PartialOption | |
Interface of a flag type | |
I Ok | Success variant of Result |
Interface of descriptor of Option | |
Basic interface of an error | |
Interface of descriptor of PartialOption | |
Double dash variant of ArgvItem | |
Multiple flag variant of ArgvItem | |
Single flag variant of ArgvItem | |
Value variant of ArgvItem | |
Failure variant of Result | |
Interface of a help item | |
Interface of a flag type | |
Success variant of Result | |
Basic interface of an error | |
Interface of a value type | |
Interface of a value type |
Type Aliases
Type of a classified argument | |
Success variant of | |
Success variant of | |
Type of value of FlaggedCommand | |
Type of value of MergeCommand | |
Failure variant of | |
Type of value of SubCommand | |
Type of value of FlaggedCommand | |
Type of value of MergeCommand | |
Failure variant of | |
Type of result of a function that may fail | |
Type of value of SubCommand | |
Type of a classified argument | |
Type of result of a function that may fail |