def METHOD_NAME():
    packtools_version = pkg_resources.get_distribution('packtools').version
    parser = argparse.ArgumentParser(description='HTML generator cli utility')
    parser.add_argument('--nonetwork', action='store_true',
                        help='prevents the retrieval of the DTD through the network')
    parser.add_argument('--nochecks', action='store_true',
                        help='prevents the validation against SciELO PS spec')
    parser.add_argument('--gs_abstract', default=False,
                        action='store_true',
                        help='Abstract for Google Scholar')
    parser.add_argument('--output_style', default='',
                        help='Output styles: website or html')
    parser.add_argument('--xslt', default=None,
                        choices=['2.0', '3.0'],
                        help='XSLT Version',
                        )
    parser.add_argument('--css', default=catalogs.HTML_GEN_DEFAULT_CSS_PATH,
                        help='URL or full path of the CSS file to use with generated htmls')
    parser.add_argument('--print_css', default=catalogs.HTML_GEN_DEFAULT_PRINT_CSS_PATH,
                        help='URL or full path of the CSS (media: print) file to use with generated htmls')
    parser.add_argument('--bootstrap_css', default=catalogs.HTML_GEN_BOOTSTRAP_CSS_PATH,
                        help='URL or full path of the CSS file to use with generated htmls')
    parser.add_argument('--article_css', default=catalogs.HTML_GEN_ARTICLE_CSS_PATH,
                        help='URL or full path of the CSS file to use with generated htmls')
    parser.add_argument('--design_system_static_img_path',
                        help='URL or full path of the Design System Images')
    parser.add_argument('--math_js', default='https://cdn.jsdelivr.net/npm/mathjax@3.0.0/es5/tex-mml-svg.js',
                        help='URL Math renderer')
    parser.add_argument('--math_elem_preference', default='mml:math',
                        choices=['text-math', 'mml:math'],
                        help='Math element preference')
    parser.add_argument('--js', default=catalogs.HTML_GEN_DEFAULT_JS_PATH,
                        help='URL or full path of the JS file to use with generated htmls')
    parser.add_argument('--permlink', default='',
                        help='Permanente URL to access the article')
    parser.add_argument('--url_article_page', default='',
                        help='OPAC URL to access the article')
    parser.add_argument('--url_download_ris', default='',
                        help='URL to download RIS file (how to cite this article)')
    parser.add_argument('XML', nargs='+',
                        help='filesystem path or URL to the XML')
    parser.add_argument('--version', action='version', version=packtools_version)
    parser.add_argument('--loglevel', default='WARNING')
    args = parser.parse_args()
    logging.basicConfig(level=getattr(logging, args.loglevel.upper()))
    print('Please wait, this may take a while...', file=sys.stderr)
    if args.xslt:
        xslt_versions = [args.xslt]
    else:
        xslt_versions = ["2.0", "3.0"]
    for xml in packtools.utils.flatten(args.XML):
        LOGGER.info('starting generation of %s' % (xml,))
        for xslt_version in xslt_versions:
            generate_html_files(args, xslt_version, xml)
        LOGGER.info('finished generating %s' % (xml,))