def list_runners(*args):
 run_ = salt.runner.Runner(__opts__)
 runners = set()
 if (not args):
  for func in run_.functions:
   runners.add(func.split('.')[0])
  return sorted(runners)
 for module in args:
  if ('*' in module):
   for func in fnmatch.filter(run_.functions, module):
    runners.add(func.split('.')[0])
  else:
   for func in run_.functions:
    mod_test = func.split('.')[0]
    if (mod_test == module):
     runners.add(mod_test)
 return sorted(runners)

def list_runners ( * args ) : run_ = salt . runner . Runner ( __opts__ ) runners = set ( ) if ( not args ) : for func in run_ . functions : runners . add ( func . split ( '.' ) [ 0 ] ) return sorted ( runners ) for module in args : if ( '*' in module ) : for func in fnmatch . filter ( run_ . functions , module ) : runners . add ( func . split ( '.' ) [ 0 ] ) else : for func in run_ . functions : mod_test = func . split ( '.' ) [ 0 ] if ( mod_test == module ) : runners . add ( mod_test ) return sorted ( runners )
list the runners loaded on the minion .