Skip to main content

Interface: Action

actions/actions.types.Action

Implemented by

Methods

getFinalStages

Optional getFinalStages(...args): ModifierStage[]

Used to define final stages that should be run at the end of the pipeline before the action

Parameters

NameTypeDescription
...argsany[]Extra args to command

Returns

ModifierStage[]

Defined in

actions/actions.types.ts:56


getPrePositionStages

Optional getPrePositionStages(...args): ModifierStage[]

Used to define stages that should be run before the final positional stage, if there is one

Parameters

NameTypeDescription
...argsany[]Extra args to command

Returns

ModifierStage[]

Defined in

actions/actions.types.ts:50


run

run(targets, ...args): Promise<ActionReturnValue>

Parameters

NameType
targetsTarget[][]
...argsany[]

Returns

Promise<ActionReturnValue>

Defined in

actions/actions.types.ts:44