Every command
oas registry check
Check a host list such as registry/hosts.json: offline, or with --online against each host.
$ oas registry check <hosts-file> [flags]
Offline it checks the file's form, as CI does for the public list. With --online it also fetches each host's description and catalog and the cards it lists, checks each signed card's signature, and warns about an unsigned one.
Arguments
- <hosts-file>
The host list to check, such as registry/hosts.json.
Flags
Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.
- --onlineswitch
also fetch each host's description and catalog
Examples
$ oas registry check registry/hosts.json
Before opening a pull request to list your host.
$ oas registry check --online registry/hosts.json
See also
- oas registry serve(runs until stopped)
Run a registry: serve a catalog of the swarms on a list of hosts, for members to search.
- oas index serve(runs until stopped)
Run an index: follow every open swarm on a list of hosts, check it as a bridge does, and serve it as JSON.
- oas host(runs until stopped)
Run a host: keep swarms' logs, order their entries, tick their clocks and serve them to members.
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.