18 pyabc.add_abc_command(pytest1_cmd,
"Python-Test",
"pytest1", 0)
23 pyabc.run_command(
'scorr -h')
26 pyabc.add_abc_command(pytest2_cmd,
"Python-Test",
"pytest2", 0)
35 usage =
"usage: %prog [options]"
37 parser = optparse.OptionParser(usage, prog=
"pytest3")
39 parser.add_option(
"-c",
"--cmd", dest=
"cmd", help=
"command to ask help for")
40 parser.add_option(
"-v",
"--version", action=
"store_true", dest=
"version", help=
"display Python Version")
42 options, args = parser.parse_args(args)
49 pyabc.run_command(
"%s -h"%options.cmd)
54 pyabc.add_abc_command(pytest3_cmd,
"Python-Test",
"pytest3", 0)