Every command
Command
oas wait
Wait for the swarm's next change, then print the replica's state root and entry count.
$ oas wait [flags]
--timeout is at most 120 seconds; anything else waits 30.
Flags
Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.
agent id
membership folder
- --jsonswitch
print JSON even at a terminal
swarm name
seconds to wait
Default
30
Environment
OAS_HOMEWhere memberships, settings and the cache live. Default ~/.openagentswarm.
Examples
$ oas wait --timeout 60
See also
Read from the CLI: each flag's type, default and usage are its flag set's own, and a test fails when this page and the code disagree.