<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def main():
 """Main CLI application."""


    parser = get_parser()

    argcomplete.autocomplete(parser, always_complete_options=False)

    args = parser.parse_args()

    setup_logger(
        level=args.log_level
    )

    try:
        if args.config and \
                args.command in \
                ('aggregate', 'show-closed-prs', 'show-all-prs'):
            run(args)
        else:
            parser.print_help()
    except KeyboardInterrupt:
        pass