def list_runner_functions(*args, **kwargs):
 run_ = salt.runner.Runner(__opts__)
 if (not args):
  return sorted(run_.functions)
 names = set()
 for module in args:
  if (('*' in module) or ('.' in module)):
   for func in fnmatch.filter(run_.functions, module):
    names.add(func)
  else:
   moduledot = (module + '.')
   for func in run_.functions:
    if func.startswith(moduledot):
     names.add(func)
 return sorted(names)

def list_runner_functions ( * args , ** kwargs ) : run_ = salt . runner . Runner ( __opts__ ) if ( not args ) : return sorted ( run_ . functions ) names = set ( ) for module in args : if ( ( '*' in module ) or ( '.' in module ) ) : for func in fnmatch . filter ( run_ . functions , module ) : names . add ( func ) else : moduledot = ( module + '.' ) for func in run_ . functions : if func . startswith ( moduledot ) : names . add ( func ) return sorted ( names )
list the functions for all runner modules .