Skip to content

CLI Reference

Workflow Commands

workflow init

Scaffold an attribute-based workflow skeleton.

bash
bin/cake workflow init order Orders

workflow list

List configured workflows.

bash
bin/cake workflow list
bin/cake workflow list --verbose

workflow show

Show one workflow in detail.

bash
bin/cake workflow show order
bin/cake workflow show order --mermaid

workflow validate

Validate one or more workflows and surface analyzer findings.

bash
bin/cake workflow validate

workflow timeouts

Process due timeouts.

bash
bin/cake workflow timeouts
bin/cake workflow timeouts --dry-run
bin/cake workflow timeouts --limit 100

Bake Commands

bake workflow_state

Requires cakephp/bake and the Bake plugin.

bash
bin/cake bake workflow_state Order/Shipped
bin/cake bake workflow_state Order/Shipped --final
bin/cake bake workflow_state Order/Shipped --transition-to Delivered --transition-name deliver

Released under the MIT License.