Skip to content

BaseCommand interface

Home > streplts > BaseCommand

Common base descriptor shared across all command nodes within the execution hierarchy.

Signature:

export interface BaseCommand

Property

Modifiers

Type

Description

aliases?

string[]

(Optional) Optional secondary string phrases that substitute as aliases for matching the root label.

description?

string

(Optional) Summarized contextual purpose string written inside help layouts explaining functional capabilities.

name

string

The token label matching the textual entry input identifying the command execution route.