oz0 workspace edit
Edit a YAML file of your draft (or of the head) as the studio's forms do, and print the result; --write puts it into your draft.
For: Operators and developers looking up a command.
Edit a YAML file of your draft (or of the head) as the studio's forms do, and print the result; --write puts it into your draft. --set path=value takes the value as YAML (5, true, "text", [a, b], {k: v}), and paths look like model.primary, steps[1].when or tools[2] (an index equal to the length appends).
Usage
oz0 workspace edit <folder> <path> [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--set | stringArray | path=value; repeatable | |
--tenant | string | default | the tenant |
--unset | stringArray | a path to remove; repeatable | |
--write | bool | write the result into your draft |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.