mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
1cc23a3144
Previously the command required exactly two arguments, forcing users to run it multiple times to declare multiple dependencies for a single unit. This accepts variadic depends-on arguments so all dependencies can be declared in one call: ``` coder exp sync want my-unit dep-1 dep-2 dep-3 ``` --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Marcin Tojek <mtojek@users.noreply.github.com>
28 lines
936 B
Plaintext
28 lines
936 B
Plaintext
coder v0.0.0-devel
|
|
|
|
USAGE:
|
|
coder exp sync [flags]
|
|
|
|
Manage unit dependencies for coordinated startup
|
|
|
|
Commands for orchestrating unit startup order in workspaces. Units are most
|
|
commonly coder scripts. Use these commands to declare dependencies between
|
|
units, coordinate their startup sequence, and ensure units start only after
|
|
their dependencies are ready. This helps prevent race conditions and startup
|
|
failures.
|
|
|
|
SUBCOMMANDS:
|
|
complete Mark a unit as complete
|
|
ping Test agent socket connectivity and health
|
|
start Wait until all unit dependencies are satisfied
|
|
status Show unit status and dependency state
|
|
want Declare that a unit depends on other units completing before it
|
|
can start
|
|
|
|
OPTIONS:
|
|
--socket-path string, $CODER_AGENT_SOCKET_PATH
|
|
Specify the path for the agent socket.
|
|
|
|
———
|
|
Run `coder --help` for a list of global options.
|