Upload local workflow JSON files to a workspace. Reads
.json files from the input directory and pushes them. By default, changes are committed immediately (--commit=true). Use --slug to push a single workflow, or omit to push all.
Syntax
Flags
| Flag | Description | Default |
|---|---|---|
-h, --help | Show help for the command | – |
-c, --commit string | Promote changes from draft to live after pushing (true/false) | true |
-m, --commit-message string | Message describing the changes being committed | – |
-d, --dir string | Directory containing workflow JSON files | ./suprsend/workflow |
-g, --slug string | Workflow slug to push (omit to push all) | – |
-j, --json string | Workflow definition as a JSON object (requires --slug). Must be a valid workflow object | – |