From 13c909434386f00a3db4669b496da3980b0d4b48 Mon Sep 17 00:00:00 2001 From: Alek Petuskey Date: Wed, 16 Oct 2024 11:35:56 -0700 Subject: [PATCH] Remove demo command (#4176) * Remove demo command * Format --------- Co-authored-by: Alek Petuskey --- reflex/reflex.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/reflex/reflex.py b/reflex/reflex.py index 4608ed171..bd6904d06 100644 --- a/reflex/reflex.py +++ b/reflex/reflex.py @@ -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(