import * as args from "https://deno.land/x/args@2.0.7/index.ts";
Classes
Class of error created by | |
| |
Base class of all | |
| |
| |
| |
| |
| |
| |
| |
| |
Base class of all |
Variables
v args | Starting point of parser construction pipeline |
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 | |
Starting point of parser construction pipeline | |
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:
| |
Value of | |
Value of | |
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) |
Interfaces
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 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 | |
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 |
Type Aliases
Success variant of | |
Type of value of FlaggedCommand | |
Type of value of MergeCommand | |
Failure variant of | |
Type of value of SubCommand | |
Type of a classified argument | |
Type of result of a function that may fail |