This is a CLI for leanpub.com. It calls the LeanPub API to generate preview files and download them to the current directory.
cargo build --release
. The binary will be in target/release/leanpub-cli
.TODO: Make binary release for non-developers.
The following arguments are supported:
--api_key
: LeanPub API key--slug
: LeanPub book slug--gen_type
or -t
: subset
or full
Please feel free to submit issues or pull requests.