Add cli example to state.show_top

This commit is contained in:
Thomas S Hatch 2013-02-08 00:54:59 -07:00
parent 612cd6dfb1
commit 03ef00a432

View File

@ -284,6 +284,10 @@ def show_sls(mods, env='base', test=None, **kwargs):
def show_top():
'''
Return the top data that the minion will use for a highstate
CLI Example::
salt '*' state.show_top
'''
st_ = salt.state.HighState(__opts__)
return st_.get_top()