import * as args from "https://deno.land/x/args@2.1.1/flag-types.ts";
Variables
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 | |
v Flag | Declare a binary flag:
|
Declare an option, including:
| |
Turn an option partial:
| |
Declare a partial option:
|
Interfaces
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 |