scripts/validation/xml_validator.py
def parse_arguments():
    """
    Simple argument parsing using python's argparse

    return: Python's argparse parser object
    """

    parser = argparse.ArgumentParser()

    parser.add_argument("--input", help="Single XML file or directory", action="store")
    parser.add_argument("--log", help="Generate a log file listing all XML files failining validation",
                        action="store_true")

    return parser

    Simple argument parsing using python's argparse

    return: Python's argparse parser object
    
Simple argument parsing using python's argparse
return: Python's argparse parser object
Simple argument parsing using python ' s argparse return : Python ' s argparse parser object
def parse_arguments():
    parser = argparse.ArgumentParser()
    parser.add_argument("--input", help="Single XML file or directory", action="store")
    parser.add_argument("--log", help="Generate a log file listing all XML files failining validation",
                        action="store_true")
    return parser
def parse_arguments ( ) : parser = argparse . ArgumentParser ( ) parser . add_argument ( "--input" , help = "Single XML file or directory" , action = "store" ) parser . add_argument ( "--log" , help = "Generate a log file listing all XML files failining validation" , action = "store_true" ) return parser
Simple argument parsing using python's argparse
return: Python's argparse parser object
Simple argument parsing using python ' s argparse return : Python ' s argparse parser object
"""
    Simple argument parsing using python's argparse

    return: Python's argparse parser object
    """