@withone/cli 1.12.8 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -76,7 +76,7 @@ one flow validate welcome-customer
76
76
  one flow execute welcome-customer -i email=jane@example.com
77
77
  ```
78
78
 
79
- Workflows are stored as JSON at `.one/flows/<key>.flow.json` and support conditions, loops, parallel steps, transforms, and more. Run `one guide flows` for the full reference.
79
+ Workflows are stored as JSON at `.one/flows/<key>.flow.json` and support conditions, loops, while loops, parallel steps, transforms, sub-flows, pagination, bash steps, and more. Run `one guide flows` for the full reference.
80
80
 
81
81
  ## How it works
82
82
 
@@ -265,6 +265,8 @@ Press Ctrl+C during execution to pause — the run can be resumed later with `on
265
265
  |--------|-------------|
266
266
  | `-i, --input <name=value>` | Input parameter (repeatable) |
267
267
  | `--dry-run` | Validate and show execution plan without running |
268
+ | `--mock` | With `--dry-run`: execute transforms/code with mock API responses |
269
+ | `--allow-bash` | Allow bash step execution (disabled by default for security) |
268
270
  | `-v, --verbose` | Show full request/response for each step |
269
271
 
270
272
  ### `one flow list`
@@ -339,7 +341,7 @@ one flow validate → Check it
339
341
  one flow execute → Run it
340
342
  ```
341
343
 
342
- Workflows support conditions, loops, parallel execution, transforms, code steps, and file I/O. Run `one guide flows` for the full schema reference and examples.
344
+ Workflows support conditions, loops, while loops, parallel execution, transforms, code steps, sub-flows, pagination, bash steps, and file I/O. Run `one guide flows` for the full schema reference and examples.
343
345
 
344
346
  ## For AI agents
345
347