A CLI Tool to manage Digital Ocean Droplets.
Project description
Installation
To install simply
$ pip install dropman
Configuration
DropMan will read the configuration file by default from your home directory ~/.dropman
but you can also
create
the configuration file wherever you want and specify as an option
$ dropman my_command --config-path=path/to/my/ .dropman
Create the .dropman
configuration file in your home directory or in any .
$ touch ~/.dropman
Add the Digital Ocean API token to the configuration file:
token: "YOUR DIGITAL OCEAN API TOKEN"
Run
To list the options available:
$ dropman --help
List all droplets:
$ dropman list
Reboot a droplet:
$ dropman reboot <id>
Shutdown a droplet:
$ dropman shutdown <id>
Power On a droplet:
$ dropman poweron <id>
Power Off (hard shutdown) a droplet:
$ dropman poweroff <id>
Power Cycle (hard reboot) a droplet:
$ dropman powercycle <id>
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
dropman-1.1.3.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for dropman-1.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2da897f1a4cbeb3cdd157e5a38e2e0425d749d3468aed0ec4ff189ed7cfe6672 |
|
MD5 | dafcb8c70f3961406cc9d8a9ae4550cc |
|
BLAKE2b-256 | f151c06bb42a563826c94efd2ac259bba2b47587963a4a6043299605ebcc4c80 |