Skip to main content

Class: ExecuteCommand

actions/ExecuteCommand.ExecuteCommand

This is just a wrapper for CommandAction that allows the commands string without an options object. Should only be used by the API. Internally go directly to CommandAction

Implements

Constructors

constructor

new ExecuteCommand(graph)

Parameters

NameType
graphGraph

Defined in

actions/ExecuteCommand.ts:13

Properties

commandAction

Private commandAction: CommandAction

Defined in

actions/ExecuteCommand.ts:11

Methods

run

run(targets, command, args?): Promise<ActionReturnValue>

Parameters

NameType
targets[Target[]]
commandstring
argsCommandOptions

Returns

Promise<ActionReturnValue>

Implementation of

Action.run

Defined in

actions/ExecuteCommand.ts:17