~kmaasrud/toe

e87acf68865d6906ed3e82cff25386e223bbd022 — Knut Magnus Aasrud 1 year, 7 months ago 5e62ee1
docs: update README
1 files changed, 7 insertions(+), 4 deletions(-)

M README.md
M README.md => README.md +7 -4
@@ 10,9 10,12 @@ This will start the daemon process, which listens on a TCP socket at
`127.0.0.1:1702`. You can then query information with the client:

```
$ cargo run --bin toenail [request]
$ cargo run --bin toenail [command]
```

Replace `[request]` with the request you want to send to the server. The default
(and currently only) request is "user", which returns the name of the user
running the daemon process.
Replace `[command]` with the command you want to send to the server. There are
currently two commands:

- `add`: This adds something to the database. Currently accepts two parameters,
  username and email.
- `email`: This fetches the email address for a given username.