Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.15 KB

File metadata and controls

33 lines (26 loc) · 1.15 KB

Joff

Rust

Store JSON responses locally and serve them locally using Rocket

Since this project is using Rocket.rs, you'll have to use the nightly toolchain by running: rustup override set nightly.

Installation

  • Run:
    • rustup default nightly
    • cargo install joff

Usage

joff 1.0

USAGE:
    joff [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -b, --bucket-name <bucket-name>    Name of the KV bucket [default: json_data]
    -d, --data-path <data-path>        Path to the KV store [default: ./data]

SUBCOMMANDS:
    add      
    help     Prints this message or the help of the given subcommand(s)
    list     
    serve