orke package recover-draft
Archive the draft and start again from the current task definition.
When to use it
Archive the draft and start again from the current task definition.
Usage
Syntax · [ ] marks optional arguments
orke package recover-draft --slug <string> --expectedRevision <string>Options
| Options | Required? | Value and description |
|---|---|---|
--slug | Required | Package identifier returned by list or create. |
--expectedRevision | Required | Definition revision read with get. |
Common management options and errors →
Example
Terminal
orke package recover-draft --slug package_slug --expectedRevision revision_from_getReplace the example IDs, folders, references, and revision with values from actual queries. Element references such as e7 must also come from the latest observation.
What to check in the result
PackageDescriptor: definition/revision/readError, runtime/target/allowedActions, completedStages/attention/recovery
Behavior and states to watch
- Archive the draft and reload the current definition as the draft. This does not write the execution definition.