Skip to main content
Module

x/dmm/deps.ts

Lightweight Deno Module Manager
Latest
import * as dmm from "https://deno.land/x/dmm@v2.1.2/deps.ts";

Namespaces

String formatters and utilities for dealing with ANSI color codes.

Classes

Used to update version strings as part of the bumper CI process when new Deno, Deno Std, and Drash Land module version are released.

A class to help build CLIs. This class is responsible for the initial set up of the CLI. Specifically, it sets up the main command so that it can show help menus. If a main command contains subcommands, then those subcommands are set up in the main command when it is constructed.

This class represents the main command of the CLI.

This class represents a subcommand in the CLI. It can only be executed by the main command.

Functions

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Set background color to black.

Set background color to blue.

Set background color to bright black.

Set background color to bright blue.

Set background color to bright cyan.

Set background color to bright green.

Set background color to bright magenta.

Set background color to bright red.

Set background color to bright white.

Set background color to bright yellow.

Set background color to cyan.

Set background color to green.

Set background color to magenta.

Set background color to red.

Set background color using 24bit rgb. color can be a number in range 0x000000 to 0xffffff or an Rgb.

Set background color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

Set background color to white.

Set background color to yellow.

Set text color to black.

Set text color to blue.

Make the text bold.

Set text color to bright black.

Set text color to bright blue.

Set text color to bright cyan.

Set text color to bright green.

Set text color to bright magenta.

Set text color to bright red.

Set text color to bright white.

Set text color to bright yellow.

Set text color to cyan.

The text emits only a small amount of light.

Get whether text color change is enabled or disabled.

Set text color to gray.

Set text color to green.

Make the text hidden.

Invert background color and text color.

Make the text italic.

Set text color to magenta.

Set text color to red.

Reset the text modified

Set text color using 24bit rgb. color can be a number in range 0x000000 to 0xffffff or an Rgb.

Set text color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

Set changing text color to enabled or disabled

Put horizontal line through the center of the text.

Remove ANSI escape codes from the string.

Make the text underline.

Set text color to white.

Set text color to yellow.

Interfaces

The representation of an argument during runtime.

The options that can be passed into the CLI.

A helper interface to help construct main commands and subcommands. This prevents the need to instantiate command classes before plugging them into Line.CLI and Line.MainCommand.

The representation of an option during runtime.

Type Aliases

Typing for the arguments property on commands.

Typing for the options property on commands.