Beispiel #1
0
 def CLI(sin, sout, serr, argv, rscer):  # #[#605.3] five args
     from script_lib.cheap_arg_parse import cheap_arg_parse
     return cheap_arg_parse(do_CLI, sin, sout, serr, argv, formals=CLI_foz)
Beispiel #2
0
def _CLI(sin, sout, serr, argv):
    from script_lib.cheap_arg_parse import cheap_arg_parse
    return cheap_arg_parse(_do_CLI, sin, sout, serr, argv, _formals_for_CLI())
Beispiel #3
0
def _CLI_for_child_1(sin, sout, serr, argv, en=None):
    from script_lib.cheap_arg_parse import cheap_arg_parse
    return cheap_arg_parse(_do_CLI_for_child_1, sin, sout, serr, argv,
                           _foz_for_child_1, None, en)
Beispiel #4
0
def CLI_(sin, sout, serr, argv, _rscer):
    from script_lib.cheap_arg_parse import require_interactive, cheap_arg_parse
    if not require_interactive(serr, sin, argv):
        return 456  # _exitstatus_for_error
    return cheap_arg_parse(_do_CLI, sin, sout, serr, argv, _formal_parameters)