1.2.0 • Published 9 years ago

pkgcloud-cli v1.2.0

Weekly downloads
6
License
MIT
Repository
-
Last release
9 years ago

pkgcloud-cli

pkgcloud-cli download history

Basic commandline wrapper around the pkgcloud nodejs module.

npm install -g pkgcloud-cli

Create a pkgcloud-cli.json file in your home directory specifying the pkgcloud compute config parameters. These parameters are identical to pkgcloud with the exception of adding a 'region' parameter. Initially, region will be ignored and it will only use the first config for each type (compute, storage, database).

However, the intent is to expand pkgcloud-cli to use a new library, multi-pkgcloud which will allow interacting with multiple provider endpoints at once.

{
  "compute": [  
      {
        "authUrl": "https://identity.api.rackspacecloud.com",
        "region": "ORD",
        "provider": "rackspace",
        "username": "yourusername",
        "apiKey": "yourapikey"
      },
      {
        "authUrl": "https://identity.api.rackspacecloud.com",
        "region": "DFW",
        "provider": "rackspace",
        "username": "yourusername",
        "apiKey": "yourapikey"
      },
      {
        "authUrl": "https://lon.identity.api.rackspacecloud.com",
        "region": "LON",
        "provider": "rackspace",
        "username": "yourusername",
        "apiKey": "yourapikey"
      }
    ],
  "storage": [
  ],
  "database": [
  ],
  "dns": [
  ]
}

use pkgcloud-cli

 $pkgcloud --help

  Usage: pkgcloud [options] [command]

  Commands:
    init                   Initialize pkgcloud-cli config file
    compute                Compute commands
    storage                Storage commands
    database               Database commands
    dns                    DNS commands
    help [cmd]             display help for [cmd]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
1.2.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.4

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago