orke package save
Save the definition using the observed revision. During a run, changes apply from the next cycle. text/stdin must be strict UTF-8, up to 1048576 bytes.
When to use it
Save the definition using the observed revision. During a run, changes apply from the next cycle. text/stdin must be strict UTF-8, up to 1048576 bytes.
Syntax
Terminal
orke package save --slug <string> --text <string> --expectedRevision <string> [--force <true|false>] [--stdin] [--json]Options
| Option | Required | Values and meaning |
|---|---|---|
--slug | Required | Folder slug from a preceding list/readstring |
--text | Required | Exact text to send or save; --stdin is available where shownstring |
--expectedRevision | Required | Definition revision from a preceding read; detects concurrent editsstring |
--force | Optional | true permits saving validation issues; revision checks still applytrue|false |
--stdin | Optional | Read strict UTF-8 input through standard input. |
Read common options and errors →
Role and constraints
operator · Windows, macOS, Linux
- Requires a running daemon owned by the same OS user; --help never connects.
- Use exactly one of --text or --stdin. Strict UTF-8, at most 1048576 bytes; input is preserved exactly.
- Use expectedRevision from the preceding read; concurrent edits are rejected rather than overwritten.
Examples
Terminal
orke package save --slug item-slug --text "hello" --expectedRevision observed-revision --jsonReplace example IDs, slugs, revisions, and files with actual observations and inputs.
Response and partial results
PackageDescriptor: groupId/definition/revision/readError, runtime/target/allowedActions, completedStages/attention/recovery