Skip to content

Commit

Permalink
Merge pull request #172 from lsst-sqre/tickets/DM-44763
Browse files Browse the repository at this point in the history
DM-44763: Drop vo-cutouts run command
  • Loading branch information
rra authored Jun 13, 2024
2 parents 14b77e1 + e9fb1ee commit 82449f7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/vocutouts/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import click
import structlog
import uvicorn
from safir.asyncio import run_with_asyncio
from safir.click import display_help

Expand All @@ -25,17 +24,6 @@ def help(ctx: click.Context, topic: str | None) -> None:
display_help(main, ctx, topic)


@main.command()
@click.option(
"--port", default=8080, type=int, help="Port to run the application on."
)
def run(port: int) -> None:
"""Run the application (for testing only)."""
uvicorn.run(
"vocutouts.main:app", port=port, reload=True, reload_dirs=["src"]
)


@main.command()
@click.option(
"--reset", is_flag=True, help="Delete all existing database data."
Expand Down

0 comments on commit 82449f7

Please sign in to comment.