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
- Host: GitHub
- URL: https://github.com/dcsg/dropman
- Owner: dcsg
- License: mit
- Created: 2016-08-29T10:22:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-21T22:00:19.000Z (over 7 years ago)
- Last Synced: 2025-02-05T19:12:47.938Z (over 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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