Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

takeshixx/kleber-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kleber CLI

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.

Installation

$ pip install -r requirements.txt
$ pit install .

Packages

There is a kleber-git package in the Arch User Repository (AUR).

Configuration

Kleber supports configuration files. The default configuration file is located at ~/.kleberrc.

Minimal Configuration File

A minimal configuration file includes just one line: a valid API key:

{"api_key": "$INSERT_API_KEY_HERE"}

Uploading a File

$ kleber /bin/pwd

There is another, more convenient way to accomblish the same:

$ cat /bin/pwd | kleber - -n pwd

The name (-n) is optional.