mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add CLI Example
This commit is contained in:
parent
5264449fdb
commit
d5b1b60b99
1 changed files with 6 additions and 0 deletions
|
@ -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],
|
||||
|
|
Loading…
Add table
Reference in a new issue