Skip to content

Commit

Permalink
restore cli the way it used to be
Browse files Browse the repository at this point in the history
  • Loading branch information
Mropat committed May 3, 2021
1 parent 9563aa8 commit 3423172
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NIPTool/commands/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def cli(context: click.Context):


@cli.command(name="serve")
@click.option("--api", type=click.Choice(["external", "internal"]), default="external")
@click.option(
"--api", default="external", type=click.Choice(["external", "internal"]), show_default=True
)
@click.option("--reload", is_flag=True)
def serve_command(reload: bool, api: str):
"""Serve the NIPT app for testing purpose.
Expand Down

0 comments on commit 3423172

Please sign in to comment.