Add CLI Example

This commit is contained in:
Aditya Kulkarni 2016-01-07 17:11:50 -05:00
parent 5264449fdb
commit d5b1b60b99

View file

@ -128,6 +128,12 @@ def destroy(instances):
def action(*args, **kwargs):
'''
Execute a single action on the given map/provider/instance
CLI Example:
.. code-block:: bash
salt-run cloud.actions start my-salt-vm
'''
client = _get_client()
info = client.action(args[0],