Ejemplo n.º 1
0
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)
Ejemplo n.º 2
0
def commands(pif):
    useful.cmd_proc(pif, './cmackl.py', cmds)
Ejemplo n.º 3
0
def commands(pif):
    useful.cmd_proc(pif, './prints.py', cmds)
Ejemplo n.º 4
0
def commands(pif):
    useful.cmd_proc(pif, './editor.py', cmds)
Ejemplo n.º 5
0
def commands(pif):
    useful.cmd_proc(pif, './tlinks.py', cmds)
Ejemplo n.º 6
0
def commands(pif):
    useful.cmd_proc(pif, './dcheck.py', cmds)
Ejemplo n.º 7
0
def commands(pif):
    useful.cmd_proc(pif, './cmackl.py', cmds)
Ejemplo n.º 8
0
def commands(pif):
    useful.cmd_proc(pif, './lineup.py', cmds)
Ejemplo n.º 9
0
def commands(pif):
    useful.cmd_proc(pif, './busers.py', cmds)
Ejemplo n.º 10
0
def commands(pif):
    useful.cmd_proc(pif, './filsys.py', cmds)
Ejemplo n.º 11
0
def commands(pif):
    useful.cmd_proc(pif, './busers.py', cmds)
Ejemplo n.º 12
0
def commands(pif):
    useful.cmd_proc(pif, './vmakes.py', cmds)
Ejemplo n.º 13
0
def commands(pif):
    useful.cmd_proc(pif, './vmakes.py', cmds)
Ejemplo n.º 14
0
def commands(pif):
    useful.cmd_proc(pif, './editor.py', cmds)
Ejemplo n.º 15
0
def commands(pif):
    useful.cmd_proc(pif, './tlinks.py', cmds)
Ejemplo n.º 16
0
def commands(pif):
    useful.cmd_proc(pif, './filsys.py', cmds)
Ejemplo n.º 17
0
def commands(pif):
    useful.cmd_proc(pif, './images.py', cmds)
Ejemplo n.º 18
0
def commands(pif):
    useful.cmd_proc(pif, './prints.py', cmds)
Ejemplo n.º 19
0
def commands(pif):
    useful.cmd_proc(pif, './dcheck.py', cmds)