def main(clargs=None):
from argparse import ArgumentParser<EOL>from librarian.library import Library<EOL>import sys<EOL>parser = ArgumentParser(<EOL>description="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", help="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", default="<STR_LIT>",<EOL>help="<STR_LIT>")<EOL>args = parser.parse_args(clargs)<EOL>descovery(args.tests)<EOL>library = Library(args.library)<EOL>cardcount, passes, failures = execute_tests(library)<EOL>print(RESULTS.format(len(SINGLES), len(TESTS), cardcount, passes,<EOL>failures))<EOL>sys.exit(failures)<EOL>
Command line entry point.