2 releases
0.1.1 | Mar 8, 2019 |
---|---|
0.1.0 | Mar 8, 2019 |
#38 in #preview
10KB
236 lines
LeanPub Commandline Tool
Introduction
This is a CLI for leanpub.com. It calls the LeanPub API to generate preview files and download them to the current directory.
Installation
- Install Rust
- Clone this repo
- run
cargo build --release
. The binary will be intarget/release/leanpub-cli
.
TODO: Make binary release for non-developers.
Usage
The following arguments are supported:
--api_key
: LeanPub API key--slug
: LeanPub book slug--gen_type
or-t
:subset
orfull
Contributing
Please feel free to submit issues or pull requests.
Dependencies
~23–31MB
~544K SLoC