digitaloceancli
v0.4.1DigitalOceanCLI
A simple command line utility for working with Digital Ocean Droplets
##Install
To install simply use
npm install digitaloceancli -g
##Setup
To use the tool you will need to setup the API, to do this go into your account and get a API key and Client ID from the API tab. Then simply run:
digitalocean
##Commands
There is a number of commands in progress for the Digital Ocean CLI, so far we have the following functionality
###New Droplet To create a new droplet run the command
digitalocean --new
You will then be asked a series of questions about your droplet, afterwards we will even tell you the cost per month so you don't have any nasty surprises at the end of the month
###Add SSH Key To create a new ssh key run the command
digitalocean --addkey
You will then be asked to name your key and to select the key you want to upload, the tool will look in your user home directory .ssh folder for keys.
###Manage Droplet You can manage a droplet using the CLI, simply run
digitalocean --manage
You will then be asked to select the droplet you want to mange, once selected you can:
- Power Off
- Power On
- Reboot
- Destroy (be careful with this one)
More commands coming soon
##Licence
Copyright (c) 2014 Jonathan Fielding
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Metadata
- Unknown
- >= 0.8.0
- Jonathan Fielding
- released 5/20/2014