import * as cliffy from "https://deno.land/x/cliffy@v1.0.0-rc.7/flags/mod.ts";
Classes
A validation error is thrown when the command is wrongly used by the user. For example: If the user passes some invalid options or arguments to the command. |
Variables
Boolean type handler. Excepts | |
Integer type handler. Excepts any integer value. | |
Number type handler. Excepts any numeric value. | |
String type handler. Excepts any value. |
Functions
Parse command line arguments. |
Interfaces
Options for a flag argument. | |
Argument parsing informations. | |
Flag options. | |
Parse result. The parse context will be returned by the | |
Parser options. |
Type Aliases
Available build-in argument types. | |
Default flag value or a callback method that returns the default value. | |
Default value callback function to lazy load the default value. | |
Parse method for custom types. Gets the raw user input passed as argument and returns the parsed value. | |
A callback method for custom processing or mapping of flag values. |