astroport/.install/sbotc/README.md

32 lines
683 B
Markdown

# sbotc
A command-line SSB client in C. Use like the `sbot` command (except for `server`/`start`).
## Install
Install the dependency, *sodium*. On Debian: `sudo apt-get install libsodium-dev`
Compile and install the program:
```sh
make
sudo make install
```
## Compile options
To build a binary statically linked with libsodium, use `make STATIC=1`
## Usage
```sh
sbotc [-j] [-T] [-l] [-r] [-e]
[ -n | [-c <cap>] [-k <key>] [-K <keypair_seed>] ]
[ [-s <host>] [-p <port>] [ -4 | -6 ] | [-u <socket_path>] ]
[ -a | [-t <type>] <method> [<argument>...] ]
```
Arguments must be explicitly JSON-encoded.
For more information, see the manual page `sbotc(1)`.