#salt '*' sys.argspec pkg.install
查看pkg.install函数的参数说明
#salt '*' sys.argspec sys
查看sys模块里面所有函数的规则说明,或者#salt '* ' sys.argspec 'sys.*'
# salt '*' sys.list_functions 'sys.list_*' #可以用这种方法将所有sys.list
开头的函数列出来。
# salt '*' sys.list_modules
列出所有的模块
# salt '*' sys.list_modules 's*'
列出所有以s开头的模块。
https://xpanx.com/
评论