0.12.2 • Published 4 years ago
ataraxia-cli v0.12.2
ataraxia-cli
Command-cline to help with debugging an Ataraxia network.
Installation
Install via NPM:
npm install -g ataraxia-cliUsage
Inspecting the network
Inspecting the network can be done with the inspect command. This will
show nodes as they become available or unavailable. The command will exit
after 5 seconds of no inactivity or after 60 seconds. Use --watch to keep
it running.
Example:
$ ataraxia --network nameOfNetwork inspect
INFO Joining example as GpTYSnv4AX
Available GpJFRewg7q
Available GpM2xb78yPListen to messages
Listening and printing messages can be done via the listen command.
$ ataraxia --network nameOfNetwork listen
$ ataraxia --network nameOfNetwork listen --exchange counterPicking networks to join
| Option | Description |
|---|---|
--network networkName | Join machine-local network and TCP network using mDNS discovery |
--hyperswarm topic | Discover peers via the given Hyperswarm topic |
--sharedKey key | Enable shared-key authentication |