def process_command_list(page_id='cli', form_key='', defval='', args='', dbedit=None, cmds=[], switches='', options=''): pif = None try: switch, filelist = get_command_line(switches, options) pif = get_page_info(page_id, form_key, defval, args, dbedit) pif.switch, pif.filelist = switch, filelist useful.cmd_proc(pif, './' + os.path.split(sys.argv[0])[1], cmds) except SystemExit: pass except useful.SimpleError as e: print('***', e.value)
def commands(pif): useful.cmd_proc(pif, './cmackl.py', cmds)
def commands(pif): useful.cmd_proc(pif, './prints.py', cmds)
def commands(pif): useful.cmd_proc(pif, './editor.py', cmds)
def commands(pif): useful.cmd_proc(pif, './tlinks.py', cmds)
def commands(pif): useful.cmd_proc(pif, './dcheck.py', cmds)
def commands(pif): useful.cmd_proc(pif, './lineup.py', cmds)
def commands(pif): useful.cmd_proc(pif, './busers.py', cmds)
def commands(pif): useful.cmd_proc(pif, './filsys.py', cmds)
def commands(pif): useful.cmd_proc(pif, './vmakes.py', cmds)
def commands(pif): useful.cmd_proc(pif, './images.py', cmds)