An open API service indexing awesome lists of open source software.

https://github.com/dcsg/dropman

CLI Tool for Digital Ocean Droplets Management
https://github.com/dcsg/dropman

Last synced: over 1 year ago
JSON representation

CLI Tool for Digital Ocean Droplets Management

Awesome Lists containing this project

README

          

DropMan: Manage your Digital Ocean Droplets
===========================================

Installation
------------

To install simply

.. code-block:: bash

$ pip install dropman

Configuration
-------------

.. role:: bash(code)
:language: bash

**DropMan** will read the configuration file by *default* from your *home directory* :bash:`~/.dropman` but you can also
create
the configuration file wherever you want and specify as an option
:bash:`$ dropman my_command --config-path=path/to/my/ .dropman`

Create the :bash:`.dropman` configuration file in your home directory or in any .

.. code-block:: bash

$ touch ~/.dropman

Add the Digital Ocean API token to the configuration file:

.. code-block:: yaml

token: "YOUR DIGITAL OCEAN API TOKEN"

Run
------------

To list the options available:

.. code-block:: bash

$ dropman --help

List all droplets:

.. code-block:: bash

$ dropman list

Reboot a droplet:

.. code-block:: bash

$ dropman reboot

Shutdown a droplet:

.. code-block:: bash

$ dropman shutdown

Power On a droplet:

.. code-block:: bash

$ dropman poweron

Power Off (hard shutdown) a droplet:

.. code-block:: bash

$ dropman poweroff

Power Cycle (hard reboot) a droplet:

.. code-block:: bash

$ dropman powercycle