CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
o2oRun Namespace Reference

Functions

def main
 

Variables

string __author__ = 'Giacomo Govi'
 

Function Documentation

def o2oRun.main (   argv)

Definition at line 14 of file o2oRun.py.

14 
15 def main( argv ):
16 
17  parser = argparse.ArgumentParser()
18  parser.add_argument("executable", type=str, help="wrapper for O2O jobs")
19  parser.add_argument("-n","--name", type=str, help="the O2O job name" )
20  parser.add_argument("--db", type=str, help="the target database: pro ( for prod ) or dev ( for prep ). default=pro")
21  parser.add_argument("-a","--auth", type=str, help="path of the authentication file")
22  parser.add_argument("-v","--verbose", action="count", help="job output mirrored to screen (default=logfile only)")
23  args = parser.parse_args()
24 
25  tool = o2olib.O2OTool()
26  tool.setup(args)
27  return tool.run()
def main
Definition: o2oRun.py:14

Variable Documentation

string o2oRun.__author__ = 'Giacomo Govi'

Definition at line 5 of file o2oRun.py.