racker/python-raxcli

Name: python-raxcli

Owner: racker

Description: Rackspace Open Cloud command line interface

Created: 2013-05-02 18:11:00.0

Updated: 2014-10-16 04:00:18.0

Pushed: 2013-06-01 07:59:14.0

Homepage: null

Size: 675

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Rackspace CLI

Command line client for interacting with various Rackspace Cloud APIs.

Installation

Command line client is available on PyPi and can be installed using pip:

install raxcli
Settings Credentials

Credentials can be set (in order of precedence) as environment variables in a configuration file or you can pass them manually to each command.

Default configuration file path is ~/.raxrc but you can overrride it by setting the RAXCLI_RAXRC environment variable. For example:

LI_RAXRC=~/.raxrc.uk raxcli registry services list

Example configuration files can be found in the examples/ directory.

Usage
li <service> <resource> <action> [options]

For example:

li registry services list
Custom Output Formatter

To specify a custom formatter, use -f option. For example:

raxcli registry services list -f json

Available Formatters
Development
Testing and Lint

Running tests

on setup.py test

Running lint

on setup.py flake8
Goals / Brain dump
License

Library is distributed under the Apache 2.0 license.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.