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?
readonlyoptionalhelp?:Record<string,string>
Defined in: command.ts:31
Texto de ayuda de cada opción.
name
readonlyname:string
Defined in: command.ts:26
options?
readonlyoptionaloptions?:ParseArgsOptionsConfig
Defined in: command.ts:29
summary
readonlysummary:string
Defined in: command.ts:27
usage
readonlyusage:string
Defined in: command.ts:28
Methods
run()
run(
context):Promise<number>
Defined in: command.ts:32
Parameters
context
Returns
Promise<number>