Remove demo command (#4176)
* Remove demo command * Format --------- Co-authored-by: Alek Petuskey <alekpetuskey@Aleks-MacBook-Pro.local>
This commit is contained in:
parent
da9d7eabdd
commit
13c9094343
@ -4,7 +4,6 @@ from __future__ import annotations
|
||||
|
||||
import atexit
|
||||
import os
|
||||
import webbrowser
|
||||
from pathlib import Path
|
||||
from typing import List, Optional
|
||||
|
||||
@ -586,18 +585,6 @@ def deploy(
|
||||
)
|
||||
|
||||
|
||||
@cli.command()
|
||||
def demo(
|
||||
frontend_port: str = typer.Option(
|
||||
"3001", help="Specify a different frontend port."
|
||||
),
|
||||
backend_port: str = typer.Option("8001", help="Specify a different backend port."),
|
||||
):
|
||||
"""Run the demo app."""
|
||||
# Open the demo app in a terminal.
|
||||
webbrowser.open("https://demo.reflex.run")
|
||||
|
||||
|
||||
cli.add_typer(db_cli, name="db", help="Subcommands for managing the database schema.")
|
||||
cli.add_typer(script_cli, name="script", help="Subcommands running helper scripts.")
|
||||
cli.add_typer(
|
||||
|
Loading…
Reference in New Issue
Block a user