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

takeshixx/kleber-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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.