Metadata-Version: 2.1
Name: dropman
Version: 1.1.3
Summary: A CLI Tool to manage Digital Ocean Droplets.
Home-page: https://github.com/dcsg/dropman
Author: Daniel Gomes
Author-email: me@danielcsgomes.com
License: MIT
Keywords: digitalocean droplet droplets
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Dist: docopt (==0.6.2)
Requires-Dist: pyyaml (>=4.2b1)
Requires-Dist: tabulate (==0.7.5)
Requires-Dist: python-digitalocean (==1.9.0)
Provides-Extra: test
Requires-Dist: coverage ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'

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 <id>

Shutdown a droplet:

.. code-block:: bash

    $ dropman shutdown <id>

Power On a droplet:

.. code-block:: bash

    $ dropman poweron <id>

Power Off (hard shutdown) a droplet:

.. code-block:: bash

    $ dropman poweroff <id>

Power Cycle (hard reboot)  a droplet:

.. code-block:: bash

    $ dropman powercycle <id>


