oz0 routine save
Save a routine's definition (YAML) as its next version, and make it current.
For: Operators and developers looking up a command.
Save a routine's definition (YAML) as its next version, and make it current. Saving a definition with the current version's hash makes no new version. Errors refuse the save; warnings are printed. Tenant admins may.
Usage
oz0 routine save -f <file> [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--file (-f) | string | the definition (YAML), or - for standard input | |
--json | bool | print JSON instead of a table | |
--tenant | string | default | tenant |
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.