5 __author__ =
'Giacomo Govi' 10 import CondCore.Utilities.o2olib
as o2olib
16 parser = argparse.ArgumentParser()
17 parser.add_argument(
"executable", type=str, help=
"wrapper for O2O jobs")
18 parser.add_argument(
"-n",
"--name", type=str, help=
"the O2O job name" )
19 parser.add_argument(
"--db", type=str, help=
"the target database: pro ( for prod ) or dev ( for prep ). default=pro")
20 parser.add_argument(
"-a",
"--auth", type=str, help=
"path of the authentication file")
21 parser.add_argument(
"-v",
"--verbose", action=
"count", help=
"job output mirrored to screen (default=logfile only)")
22 args = parser.parse_args()
28 if __name__ ==
'__main__':
29 sys.exit(
main(sys.argv))