Interface: ICliCommandDefinition
Command to execute in the CLI.
Properties
command
command:
string
The command name.
description
description:
string
The command description.
example
example:
string
The example.
params
params:
ICliCommandDefinitionParam[]
The params available for the command.
action
action: (
engineCore,envVars,params) =>Promise<unknown>
The method to execute for the command.
Parameters
engineCore
IEngineCore
envVars
params
Returns
Promise<unknown>
requiresEngineStarted?
optionalrequiresEngineStarted?:boolean
Indicates whether the engine needs to be started before executing the command.
Default
true
requiresNodeIdentity?
optionalrequiresNodeIdentity?:boolean
Indicates whether the engine needs the node identity to be set if configured to use.
Default
true
requiresTenantId?
optionalrequiresTenantId?:boolean
Indicates whether the engine needs the tenant id to be set if configured to use.
Default
true