Skip to main content

XpmAction._commands property

The array of command strings after variable substitution.

Signature

protected _commands?: string[];

Remarks

This array contains the fully evaluated command lines ready for execution, with all Liquid template variables substituted.

Lifecycle states:

  1. Undefined initially and until XpmAction.initialise() is called.
  2. Populated during initialisation by evaluating jsonAction with the Liquid engine and complete variable context.
  3. Array-based JSON definitions are joined, substituted, then split back into individual command lines.
  4. Each string represents one command line to be executed sequentially.

Attempting to access via the commands getter before initialisation will trigger an assertion error, enforcing correct usage order.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.