From dab7e5d2a1c3ed7fc48d00ac77aa8e2f6fab7ef4 Mon Sep 17 00:00:00 2001 From: Robert Neumann Date: Sat, 4 Feb 2023 19:51:01 +0100 Subject: [PATCH] Remove extra flags from pc run (#434) --- pynecone/pc.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pynecone/pc.py b/pynecone/pc.py index fa42ff652..8c5f1e787 100644 --- a/pynecone/pc.py +++ b/pynecone/pc.py @@ -54,8 +54,12 @@ def run( env: constants.Env = typer.Option( constants.Env.DEV, help="The environment to run the app in." ), - frontend: bool = typer.Option(True, help="Whether to run the frontend."), - backend: bool = typer.Option(True, help="Whether to run the backend."), + frontend: bool = typer.Option( + True, "--no-frontend", help="Disable frontend execution." + ), + backend: bool = typer.Option( + True, "--no-backend", help="Disable backend execution." + ), loglevel: constants.LogLevel = typer.Option( constants.LogLevel.ERROR, help="The log level to use." ),