Skip to content

basalt / cli/src / CommandDefinition

Interface: CommandDefinition ​

Defined in: cli/src/command.ts:22

Properties ​

description? ​

> optional description?: string

Defined in: cli/src/command.ts:25


name ​

> name: string

Defined in: cli/src/command.ts:24

Command name, by convention noun:verb (e.g. tenant:migrate).

Methods ​

handle() ​

> handle(context): number | void | Promise<number | void>

Defined in: cli/src/command.ts:26

Parameters ​

context ​

CommandContext

Returns ​

number | void | Promise<number | void>

Released under the MIT License.