This CLI provides basic commands to deal with Leanpub.
You have to set up ~/.leanpub.json
that contains your api key like this:
{
"apiKey": "dig this from Leanpub UI"
}
After that you can invoke the cli:
leanpub-cli <command> <book slug>
If you run the command without any parameters, you can see the available commands.
leanpub-cli is available under MIT. See LICENSE for more details.