def METHOD_NAME():
    parser = argparse.ArgumentParser(usage=usage)
    parser.version = '%(prog)s ' + pyang.__version__
    parser.add_argument("file", metavar="filename", action="store", nargs='?',
                   help="Read a YANG module from filename or stdin.")
    parser.add_argument("-v", "--version", action="version",
                   help="Show version number and exit")
    parser.add_argument("-o", "--output", dest="outfile",
                   help="Write the output to OUTFILE instead of stdout.")
    parser.add_argument("-d", dest="scan_document", action="store_true",
                   help="Add markup to an existing html document")
    parser.add_argument("-c", dest="emit_css", action="store_true",
                   help="Add html markup for syntax coloring of YANG modules, or documents,"
                        "which contain YANG modules.")
    args = parser.parse_args()
    if args.file is None:
        # read the entire doc into buf
        buf = ""
        for line in sys.stdin:
            buf = buf + line
    else:
        filename = args.file
        try:
            fd = open(filename)
            buf = fd.read()
        except IOError as ex:
            sys.stderr.write("error %s: %s\n" % (filename, ex))
            sys.exit(1)
    if args.outfile is None:
        fd = sys.stdout
    else:
        fd = open(args.outfile, "w+")
    def emit_css():
        fd.write("""