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
251f321135
commit
bdf3df3397
1 changed files with 6 additions and 0 deletions
|
@ -299,6 +299,12 @@ def get_file(path,
|
|||
def envs():
|
||||
'''
|
||||
List available environments for fileserver
|
||||
|
||||
CLI Example
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' cp.envs
|
||||
'''
|
||||
return _client().envs()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue