Skip to content

rackeric/erack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

erack

Build Status GoDoc

Another CLI to the Rackspace Public Cloud written in Go and using a couple of really cool libraries.

Requirements

$ go get github.com/codegangsta/cli
$ go get github.com/rackspace/gophercloud

Authentication

You can authenticate by setting your username, API key and region using the command line options.

$ erack servers instance list --user <username> --key <api_key> --region <region>

Environment Variables

You can also set your USERNAME, APIKEY and REGION by using environment variables instead of using command line options.

$ export USERNAME=<username>
$ export APIKEY=<api_key>
$ export REGION=<region>

Built in help

You can see help info for each subcommand by appending help, --help or -h to a subcommand.

$ erack servers instance help
NAME:
   erack servers instance - server instance commands

USAGE:
   erack servers instance command [command options] [arguments...]

COMMANDS:
   list         list server instances
   details      Details about a Cloud Server in the Rackspace Public Cloud.
   create       Create a Cloud Server in the Rackspace Public Cloud.
   delete       Delete a Cloud Server in the Rackspace Public Cloud.
   help, h      Shows a list of commands or help for one command

OPTIONS:
   --help, -h   show help

About

Another CLI to the Rackspace Public Cloud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages