def main():
<EOL>async def _run_application(loop):<EOL><INDENT>try:<EOL><INDENT>return await cli_handler(loop)<EOL><DEDENT>except KeyboardInterrupt:<EOL><INDENT>pass  <EOL><DEDENT>except SystemExit:<EOL><INDENT>pass  <EOL><DEDENT>except:  <EOL><INDENT>import traceback<EOL>traceback.print_exc(file=sys.stderr)<EOL>sys.stderr.writelines(<EOL>'<STR_LIT>')<EOL><DEDENT>return <NUM_LIT:1><EOL><DEDENT>try:<EOL><INDENT>loop = asyncio.get_event_loop()<EOL>return loop.run_until_complete(_run_application(loop))<EOL><DEDENT>except KeyboardInterrupt:<EOL><INDENT>pass<EOL><DEDENT>return <NUM_LIT:1><EOL>
Start the asyncio event loop and runs the application.