def METHOD_NAME(parser):
    # Not using this import to be able to use this function before the pythonpath
    # is setup.
    # from robocorp_code.options import Options as DefaultOptions
    class DefaultOptions(object):
        host = "127.0.0.1"
        port = 1456
        verbose = 0
    parser.description = "Robocorp Code"
    parser.add_argument(
        "--tcp", action="store_true", help="Use TCP server instead of stdio."
    )
    parser.add_argument(
        "--host",
        default=DefaultOptions.host,
        help="Bind to this IP address (i.e.: 127.0.0.01).",
    )
    parser.add_argument(
        "--port",
        type=int,
        default=DefaultOptions.port,
        help="Bind to this port (i.e.: 1456).",
    )
    parser.add_argument(
        "--log-file",
        help="Redirect logs to the given file instead of writing to stderr (i.e.: c:/temp/my_log.log).",
    )
    parser.add_argument(
        "-v",
        "--verbose",
        action="count",
        default=DefaultOptions.verbose,
        help="Increase verbosity of log output (i.e.: -vv).",
    )
    parser.add_argument(
        "--version",
        action="store_true",
        help="If passed, just prints the version to the standard output and exits.",
    )