Revert "add v1 support"

This reverts commit c216eeafeb.
This commit is contained in:
simon 2024-11-05 18:28:16 -08:00
parent 871aca4829
commit 02a9406d14

View File

@ -10,7 +10,6 @@ from typing import List, Optional
import typer import typer
import typer.core import typer.core
from reflex_cli.deployments import deployments_cli from reflex_cli.deployments import deployments_cli
from reflex_cli.v2.deployments import hosting_cli
from reflex_cli.utils import dependency from reflex_cli.utils import dependency
from reflex import constants from reflex import constants
@ -384,13 +383,6 @@ def login(
_login() _login()
@cli.command()
def loginv2(loglevel: constants.LogLevel = typer.Option(config.loglevel)):
from reflex_cli.v2 import cli as hosting_cli
hosting_cli.login()
@cli.command() @cli.command()
def logout( def logout(
loglevel: constants.LogLevel = typer.Option( loglevel: constants.LogLevel = typer.Option(
@ -708,11 +700,6 @@ cli.add_typer(
name="deployments", name="deployments",
help="Subcommands for managing the Deployments.", help="Subcommands for managing the Deployments.",
) )
cli.add_typer(
hosting_cli,
name="apps",
help="Subcommands for managing the Deployments.",
)
cli.add_typer( cli.add_typer(
custom_components_cli, custom_components_cli,
name="component", name="component",