orke package recover-draft

Preserve the draft, then reload the current definition into the draft. The running definition is unchanged.

Command referenceEnglish

When to use it

Preserve the draft, then reload the current definition into the draft. The running definition is unchanged.

Syntax

Terminal
orke package recover-draft --slug <string> --expectedRevision <string> [--json]

Options

OptionRequiredValues and meaning
--slugRequiredFolder slug from a preceding list/read
string
--expectedRevisionRequiredDefinition revision from a preceding read; detects concurrent edits
string

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 expectedRevision from the preceding read; concurrent edits are rejected rather than overwritten.

Examples

Terminal
orke package recover-draft --slug item-slug --expectedRevision observed-revision --json

Replace 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

Related guidance

Commands in this group →

Search documentation

The page could not be displayed. Reload ×