Reference / work

work

Manage outstanding work.
Usage:
  ocuroot work [command]

Available Commands:
  any         Pick up any outstanding work
  cascade     Pick up any outstanding work
  continue    Continue outstanding work
  ops         Run scheduled ops
  trigger     Trigger outstanding runs in the state store

Use "ocuroot work [command] --help" for more information about a command.

Subcommands

any

Pick up any outstanding work based on the contents of the state store.

Will start by running any release work (equivalent to 'ocuroot work continue'), then
any ops ('ocuroot work ops'), then sync any intent ('ocuroot state diff | xargs -r -n1 ocuroot state apply'),
finally it will trigger work for other commits ('ocuroot work trigger').
	
Usage:
  ocuroot work any [flags]

Flags:
      --comprehensive   Run in comprehensive mode, which will continue requesting work until this commit is stable
  -d, --dryrun          List refs for work that would be triggered. Will only list the first set of work so is incompatible with --comprehensive

cascade

Pick up any outstanding work based on the contents of the state store.

Will start by running any release work (equivalent to 'ocuroot work continue'), then
any ops ('ocuroot work ops'), then sync any intent ('ocuroot state diff | xargs -r -n1 ocuroot state apply'),
finally it will trigger work for other commits ('ocuroot work trigger').
	
Usage:
  ocuroot work cascade [flags]

Flags:
  -d, --dryrun   List refs for work that would be triggered

continue

Continue outstanding work against the current commit.
Usage:
  ocuroot work continue [flags]

Flags:
  -d, --dryrun   List refs for work that would be triggered

ops

Run scheduled operations against this commit.
Usage:
  ocuroot work ops [flags]

Flags:
  -d, --dryrun   List refs for work that would be triggered

trigger

Trigger outstanding runs in the state store.
Usage:
  ocuroot work trigger [flags]

Flags:
  -d, --dryrun   List refs for work that would be triggered
  -i, --intent   Trigger intents instead of deployments