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

FlagTypeDefaultDescription
--file (-f)stringthe definition (YAML), or - for standard input
--jsonboolprint JSON instead of a table
--tenantstringdefaulttenant

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026