Class

Command

(abstract) utils.Command(name, inputsopt, requirementsopt)

Constructor

# abstract new Command(name, inputsopt, requirementsopt)

Provides a structure for creating command-line interface commands with input handling, logging, and execution flow.

Abstract base class for command implementation.

Parameters:
Name Type Attributes Description
name string

The name of the command.

inputs CommandOptions.<I> <optional>

The input options for the command.

requirements Array.<string> <optional>

The list of required dependencies for the command.

View Source cli/command.ts, line 8