Skip to main content

run_update

Function run_update 

Source
pub fn run_update(workflow: &str) -> Result<(), ZigError>
Expand description

Launch an interactive zag session for workflow revision.

Flow:

  1. Resolve the workflow by name or path.
  2. Copy (plain .zwf) or unzip (.zwfz) it into a temp staging directory.
  3. Spawn zag run with an update system prompt and the staging path.
  4. On success, move (plain) or re-zip (zipped) the staging contents back over the original path.