add cli example

This commit is contained in:
Daniel Wallace 2018-08-29 08:46:11 -05:00
parent 251f321135
commit bdf3df3397
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -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()