def __init__(self):
self._install_exception_handler()<EOL>self.argparser = argparse.ArgumentParser(<EOL>description='<STR_LIT>'<EOL>)<EOL>generic_parser = argparse.ArgumentParser(add_help=False)<EOL>generic_parser.add_argument(<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>dest='<STR_LIT>', action='<STR_LIT:store_true>',<EOL>help='<STR_LIT>'<EOL>)<EOL>subparsers = self.argparser.add_subparsers()<EOL>for cls in COMMANDS:<EOL><INDENT>command = cls()<EOL>command.add_argparser(subparsers, [generic_parser])<EOL><DEDENT>self.args = self.argparser.parse_args()<EOL>self.args.func(self.args)<EOL>
Setup and parse command line arguments.