prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Allow to specify host and port in dev server
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `strawberry/cli/__init__.py`
  Content:
  ```
  1 import click
  2 import sys
  3 
  4 import os
  5 from starlette.applications import Starlette
  6 from starlette.responses import HTMLResponse
  7 import importlib
  8 
  9 import uvicorn
  10 
  11 import hupper
  12 
  13 from strawberry.contrib.starlette import GraphQLApp
  14 
  15 
  16 @click.group()
  17 def run():
  18     pass
  19 
  20 
  21 @run.command("server")
  22 @click.argument("module", type=str)
  23 def server(module):
  24     sys.path.append(os.getcwd())
  25 
  26     reloader = hupper.start_reloader("strawberry.cli.run")
  27 
  28     schema_module = importlib.import_module(module)
  29 
  30     reloader.watch_files([schema_module.__file__])
  31 
  32     app = Starlette(debug=True)
  33     app.add_route("/graphql", GraphQLApp(schema_module.schema))
  34     uvicorn.run(app, host="0.0.0.0", port=8000, log_level="error")
  35
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/strawberry/cli/__init__.py b/strawberry/cli/__init__.py
  --- a/strawberry/cli/__init__.py
  +++ b/strawberry/cli/__init__.py
  @@ -20,10 +20,12 @@
   
   @run.command("server")
   @click.argument("module", type=str)
  -def server(module):
  +@click.option("-h", "--host", default="0.0.0.0", type=str)
  +@click.option("-p", "--port", default=8000, type=int)
  +def server(module, host, port):
       sys.path.append(os.getcwd())
   
  -    reloader = hupper.start_reloader("strawberry.cli.run")
  +    reloader = hupper.start_reloader("strawberry.cli.run", verbose=False)
   
       schema_module = importlib.import_module(module)
   
  @@ -31,4 +33,7 @@
   
       app = Starlette(debug=True)
       app.add_route("/graphql", GraphQLApp(schema_module.schema))
  -    uvicorn.run(app, host="0.0.0.0", port=8000, log_level="error")
  +
  +    print(f"Running strawberry on http://{host}:{port}/graphql 🍓")
  +
  +    uvicorn.run(app, host=host, port=port, log_level="error")
  
verification_info: {"golden_diff": "diff --git a/strawberry/cli/__init__.py b/strawberry/cli/__init__.py\n--- a/strawberry/cli/__init__.py\n+++ b/strawberry/cli/__init__.py\n@@ -20,10 +20,12 @@\n \n @run.command(\"server\")\n @click.argument(\"module\", type=str)\n-def server(module):\n+@click.option(\"-h\", \"--host\", default=\"0.0.0.0\", type=str)\n+@click.option(\"-p\", \"--port\", default=8000, type=int)\n+def server(module, host, port):\n     sys.path.append(os.getcwd())\n \n-    reloader = hupper.start_reloader(\"strawberry.cli.run\")\n+    reloader = hupper.start_reloader(\"strawberry.cli.run\", verbose=False)\n \n     schema_module = importlib.import_module(module)\n \n@@ -31,4 +33,7 @@\n \n     app = Starlette(debug=True)\n     app.add_route(\"/graphql\", GraphQLApp(schema_module.schema))\n-    uvicorn.run(app, host=\"0.0.0.0\", port=8000, log_level=\"error\")\n+\n+    print(f\"Running strawberry on http://{host}:{port}/graphql \ud83c\udf53\")\n+\n+    uvicorn.run(app, host=host, port=port, log_level=\"error\")\n", "issue": "Allow to specify host and port in dev server\n\n", "before_files": [{"content": "import click\nimport sys\n\nimport os\nfrom starlette.applications import Starlette\nfrom starlette.responses import HTMLResponse\nimport importlib\n\nimport uvicorn\n\nimport hupper\n\nfrom strawberry.contrib.starlette import GraphQLApp\n\n\n@click.group()\ndef run():\n    pass\n\n\n@run.command(\"server\")\n@click.argument(\"module\", type=str)\ndef server(module):\n    sys.path.append(os.getcwd())\n\n    reloader = hupper.start_reloader(\"strawberry.cli.run\")\n\n    schema_module = importlib.import_module(module)\n\n    reloader.watch_files([schema_module.__file__])\n\n    app = Starlette(debug=True)\n    app.add_route(\"/graphql\", GraphQLApp(schema_module.schema))\n    uvicorn.run(app, host=\"0.0.0.0\", port=8000, log_level=\"error\")\n", "path": "strawberry/cli/__init__.py"}], "after_files": [{"content": "import click\nimport sys\n\nimport os\nfrom starlette.applications import Starlette\nfrom starlette.responses import HTMLResponse\nimport importlib\n\nimport uvicorn\n\nimport hupper\n\nfrom strawberry.contrib.starlette import GraphQLApp\n\n\n@click.group()\ndef run():\n    pass\n\n\n@run.command(\"server\")\n@click.argument(\"module\", type=str)\n@click.option(\"-h\", \"--host\", default=\"0.0.0.0\", type=str)\n@click.option(\"-p\", \"--port\", default=8000, type=int)\ndef server(module, host, port):\n    sys.path.append(os.getcwd())\n\n    reloader = hupper.start_reloader(\"strawberry.cli.run\", verbose=False)\n\n    schema_module = importlib.import_module(module)\n\n    reloader.watch_files([schema_module.__file__])\n\n    app = Starlette(debug=True)\n    app.add_route(\"/graphql\", GraphQLApp(schema_module.schema))\n\n    print(f\"Running strawberry on http://{host}:{port}/graphql \ud83c\udf53\")\n\n    uvicorn.run(app, host=host, port=port, log_level=\"error\")\n", "path": "strawberry/cli/__init__.py"}]}