basic client library and CLI for Lox
Go to file
Vecna 4eb3204240 Don't output response code for every request 2024-05-30 23:04:24 -04:00
src Don't output response code for every request 2024-05-30 23:04:24 -04:00
.gitignore Update lox_cli test to use different endpoint for advancing time 2024-04-26 23:12:10 -04:00
Cargo.toml Use forked lox repo for lox_utils as well 2024-04-29 16:29:53 -04:00
LICENSE Add license 2023-09-07 13:52:22 -04:00
README.md Update lox_cli test to use different endpoint for advancing time 2024-04-26 23:12:10 -04:00

README.md

lox_cli

This is an in-development client library and CLI for Lox, designed to talk to the Lox Distributor.

Server

The Lox Distributor code can be found here. I am aiming to keep this project up-to-date to work with that repository. For testing, use this fork which adds an endpoint to the server to allow artificially increasing the number of days that have passed.

Usage

Make sure the server is running first.

cargo run gets a new open invite Lox credential.

cargo run -- -L performs a trust migration (level 0) or level up (level 1+) if possible.

cargo run -- -I issues an invitation if possible.

cargo run -- -R invite_file redeems an invitation to get a level 1 Lox credential.

cargo run -- -h for more options.