Skip to content
/ dropman Public

CLI Tool for Digital Ocean Droplets Management

License

Notifications You must be signed in to change notification settings

dcsg/dropman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DropMan: Manage your Digital Ocean Droplets

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>