Command line client for Rackspace Service Registry
Project description
# Rackspace Service Registry CLI
Command line client for Rackspace Service Registry. The client currently allows
users to:
* view account limits
* vite active services
* view events
* view, set and remove configuration values
## 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
```
[credentials]
username=foo
api_key=bar
[api]
url=https://dfw.registry.api.rackspacecloud.com/v1.0
[auth_api]
url=https://identity.api.rackspacecloud.com/v2.0
[ssl]
verify=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
* table
* csv
* json
* yaml
* html
# License
Library is distributed under the [Apache license](http://www.apache.org/licenses/LICENSE-2.0.html).
Command line client for Rackspace Service Registry. The client currently allows
users to:
* view account limits
* vite active services
* view events
* view, set and remove configuration values
## 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
```
[credentials]
username=foo
api_key=bar
[api]
url=https://dfw.registry.api.rackspacecloud.com/v1.0
[auth_api]
url=https://identity.api.rackspacecloud.com/v2.0
[ssl]
verify=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
* table
* csv
* json
* yaml
* html
# License
Library is distributed under the [Apache license](http://www.apache.org/licenses/LICENSE-2.0.html).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
service-registry-cli-0.2.1.tar.gz
(141.5 kB
view details)
File details
Details for the file service-registry-cli-0.2.1.tar.gz
.
File metadata
- Download URL: service-registry-cli-0.2.1.tar.gz
- Upload date:
- Size: 141.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e259f766500f889c9af26abb7de5817c1247db9b982afe23d698c30f209ba890 |
|
MD5 | 9d4e0fa2ec9d32a3c00723a22501b096 |
|
BLAKE2b-256 | 90a30e37afce7230d24ae91c21fae72b26f6db602551acf5df6e42abec54a635 |