Skip to content

Documentation / @tenancy-node/cli / Command

Interface: Command ​

Defined in: command.ts:25

Un comando del CLI (patrón Command): valida argumentos y llama a la API de tenancy.

Properties ​

help? ​

readonly optional help?: Record<string, string>

Defined in: command.ts:31

Texto de ayuda de cada opción.


name ​

readonly name: string

Defined in: command.ts:26


options? ​

readonly optional options?: ParseArgsOptionsConfig

Defined in: command.ts:29


summary ​

readonly summary: string

Defined in: command.ts:27


usage ​

readonly usage: string

Defined in: command.ts:28

Methods ​

run() ​

run(context): Promise<number>

Defined in: command.ts:32

Parameters ​

context ​

CommandContext

Returns ​

Promise<number>

Publicado bajo la licencia MIT.