Skip to main content
Module

x/line/mod.ts

A class-based, command-line interface (CLI) framework.
Latest
import * as line from "https://deno.land/x/line@v1.0.1/mod.ts";

Classes

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.

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.