racker/python-service-registry-cli

Name: python-service-registry-cli

Owner: racker

Description: Command line client for Rackspace Service Registry.

Created: 2012-09-10 18:35:27.0

Updated: 2013-12-03 05:47:47.0

Pushed: 2013-03-26 15:21:24.0

Homepage:

Size: 436

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Rackspace Service Registry CLI

Command line client for Rackspace Service Registry. The client currently allows users to:

Installation

pip install --upgrade service-registry-cli

Settings Credentials

Credentials can be set (in order of precedence) as environment variables (RAXSR_USERNAME, RAXSR_API_KEY, RAXSR_API_URL, RAXSR_AUTH_URL), 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 RAXSR_RAXRC environment variable. For example:

RAXSR_RAXRC=~/.raxrc.uk raxsr services list

Example Configuration File
dentials]
name=foo
key=bar

]
https://dfw.registry.api.rackspacecloud.com/v1.0

h_api]
https://identity.api.rackspacecloud.com/v2.0

]
fy=true
Usage

raxsr <resource> <action> [options]

For example:

raxsr services list

Viewing Command Options

raxsr help services list

Custom Output Formatter

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

raxsr services list -f json

Available Formatters

License

Library is distributed under the Apache 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.