import * as mod from "https://dotland.deno.dev/std@0.223.0/cli/mod.ts";
Command line arguments parser based on minimist.
This module is browser compatible.
Functions
Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments. | |
Shows the given message and waits for the user's input. Returns the user's input as string.
This is similar to | |
Calculate the physical width of a string in a TTY-like environment. This is useful for cases such as calculating where a line-wrap will occur and underlining strings. |
Interfaces
The options for the | |
Options for |
Type Aliases
T Ansi | This is a hack to allow us to use the same type for both the color name and an ANSI escape code. |
T Args | The value returned from |
Color options for {@link | |
Options for |