orke package save-draft

Apply the existing package.draft.md with its name. Changes made elsewhere are combined; places changed differently are returned as draftConflicts. --preferDraft true saves those places as drafted.

Command referenceEnglish

When to use it

Apply the existing package.draft.md with its name. Changes made elsewhere are combined; places changed differently are returned as draftConflicts. --preferDraft true saves those places as drafted.

Syntax

Terminal
orke package save-draft --slug <string> --name <string> --expectedRevision <string> [--preferDraft <true|false>] [--json]

Options

OptionRequiredValues and meaning
--slugRequiredFolder slug from a preceding list/read
string
--nameRequiredDisplay name of the target
string
--expectedRevisionRequiredDefinition revision from a preceding read; detects concurrent edits
string
--preferDraftOptionaltrue selects draft content for conflicting edits
true|false

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 save-draft --slug item-slug --name "example" --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, draftConflicts/draftMerged

Related guidance

Commands in this group →

Search documentation

The page could not be displayed. Reload ×