This is the official command line client for Kleber. The main purpose is to provide a command line interface where the basic API features are implemented. Uploading of pure text as well as data/binary is supported from either files or STDIN.
$ pip install -r requirements.txt
$ pit install .
There is a kleber-git package in the Arch User Repository (AUR).
Kleber supports configuration files. The default configuration file is located at ~/.kleberrc
.
A minimal configuration file includes just one line: a valid API key:
{"api_key": "$INSERT_API_KEY_HERE"}
$ kleber /bin/pwd
There is another, more convenient way to accomblish the same:
$ cat /bin/pwd | kleber - -n pwd
The name (-n) is optional.