craftr workflow move-block

Move a block, with its children and scripts, to another workflow. Clashing block ids get a numeric suffix; references that now cross workflows are listed in brokenReferences.

Usage

craftr workflow move-block <workflow> <block> <workflow> [--index <n>]

Flags

FlagDescription
--indexPosition in the target top-level list (default: end).

Examples

craftr workflow move-block pet-lifecycle check-status smoke
craftr workflow move-block pet-lifecycle check-status smoke --index 0

See also