This is a simple command-line interface to the facilities of GitHub. It is written by Christopher Brannon email@example.com. The current version is 0.2. This program is still in the early stage of development. It is by no means feature-complete. A friend and I consider it useful, but others may not.
If you are using a version of Python prior to 2.7, you first need to
install the argparse module.
Get it from here, or install it using
pip install argparse.
Python version 2.7 includes argparse in its standard library.
cligh also requires the PyGithub package.
The homepage for PyGithub is
It can also be installed using
pip install PyGithub.
The final dependency is PyXDG.
Get it from
or install it using
pip install pyxdg.
Once the dependencies are installed,
./setup.py install in the cligh source directory, in order to install
Run the following command to configure cligh:
The program will prompt you for a username and password. It then creates an authorization using the Github API. cligh never stores your password. Instead, it stores the token associated with the authorization that it created. It uses this token to authenticate to Github.
Usage is straightforward, and the program provides informative help
messages. Simply type
cligh -h at a shell prompt,
to see the introductory help message.
The source for this project is managed by git. If you wish to contribute, or if you simply wish to use the unpublished "development" sources, clone it using a command such as the following:
git clone git://github.com/CMB/cligh.git
Patches are most appreciated. Please send them to firstname.lastname@example.org.