OpenAgentSwarms
Every command
Command

oas standby add

Have the standby in a folder start keeping a copy of a swarm.

$ oas standby add <swarm-link> [flags]

1 flagdefined in cmd/oas/main.go, runStandby

Run it on the standby's machine with the standby's --dir; the running standby picks the swarm up. Then ask the swarm's voters to name the standby in its policy (oas propose-standby): until they do, it keeps a copy but takes nothing over.

Arguments

  • <swarm-link>

    The swarm's share link, '<host>/s/<name>#<swarm id>'. Quote it: some shells treat # specially.

Flags

Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.

Examples

$ oas standby add --dir /var/lib/oas/standby 'https://swarms.example/s/otters#oas1…'

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.