rename loginv2 to login (#4486)
* rename loginv2 to login * reflex-hosting-cli bump to 0.1.29 * relock deps
This commit is contained in:
parent
dc997786aa
commit
5f0aa0c4e0
8
poetry.lock
generated
8
poetry.lock
generated
@ -2206,13 +2206,13 @@ reflex = ">=0.6.0a"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reflex-hosting-cli"
|
name = "reflex-hosting-cli"
|
||||||
version = "0.1.28"
|
version = "0.1.29"
|
||||||
description = "Reflex Hosting CLI"
|
description = "Reflex Hosting CLI"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = "<4.0,>=3.8"
|
python-versions = "<4.0,>=3.8"
|
||||||
files = [
|
files = [
|
||||||
{file = "reflex_hosting_cli-0.1.28-py3-none-any.whl", hash = "sha256:68c60e8b2cb8856d0b8eac1f06410d8fe192944884f54bfad47adf5db62bd395"},
|
{file = "reflex_hosting_cli-0.1.29-py3-none-any.whl", hash = "sha256:fcbdad829762287f32397cd8a5d46536ab0db396e7fdb8a23c7f9343d7dc8de0"},
|
||||||
{file = "reflex_hosting_cli-0.1.28.tar.gz", hash = "sha256:9b4fb771396ffeba857ada0207fdfd78e2e40b8e35a5486b89cb07f1aa416867"},
|
{file = "reflex_hosting_cli-0.1.29.tar.gz", hash = "sha256:7b421fec6936c26549c8c65c9dda34fc042eaaec79b238dce6b9c020f848563b"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
@ -3041,4 +3041,4 @@ type = ["pytest-mypy"]
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.9"
|
python-versions = "^3.9"
|
||||||
content-hash = "8d908859a32731cfe8ec4d0d855f5643a2d8150f4a2a27b3dd8d4485877862ea"
|
content-hash = "3810e99ff4d09952e62d88b2c26651a0d8e0ffe4007bc3274c2fb83b68243951"
|
||||||
|
@ -49,7 +49,7 @@ wrapt = [
|
|||||||
{version = ">=1.11.0,<2.0", python = "<3.11"},
|
{version = ">=1.11.0,<2.0", python = "<3.11"},
|
||||||
]
|
]
|
||||||
packaging = ">=23.1,<25.0"
|
packaging = ">=23.1,<25.0"
|
||||||
reflex-hosting-cli = ">=0.1.28,<2.0"
|
reflex-hosting-cli = ">=0.1.29,<2.0"
|
||||||
charset-normalizer = ">=3.3.2,<4.0"
|
charset-normalizer = ">=3.3.2,<4.0"
|
||||||
wheel = ">=0.42.0,<1.0"
|
wheel = ">=0.42.0,<1.0"
|
||||||
build = ">=1.0.3,<2.0"
|
build = ">=1.0.3,<2.0"
|
||||||
|
@ -337,7 +337,7 @@ def login(loglevel: constants.LogLevel = typer.Option(config.loglevel)):
|
|||||||
|
|
||||||
validated_info = hosting_cli.login()
|
validated_info = hosting_cli.login()
|
||||||
if validated_info is not None:
|
if validated_info is not None:
|
||||||
telemetry.send("loginv2", user_uuid=validated_info.get("user_id"))
|
telemetry.send("login", user_uuid=validated_info.get("user_id"))
|
||||||
|
|
||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
|
@ -1413,7 +1413,7 @@ def validate_and_create_app_using_remote_template(app_name, template, templates)
|
|||||||
authenticated_token = hosting.authenticated_token()
|
authenticated_token = hosting.authenticated_token()
|
||||||
if not authenticated_token or not authenticated_token[0]:
|
if not authenticated_token or not authenticated_token[0]:
|
||||||
console.print(
|
console.print(
|
||||||
f"Please use `reflex loginv2` to access the '{template}' template."
|
f"Please use `reflex login` to access the '{template}' template."
|
||||||
)
|
)
|
||||||
raise typer.Exit(3)
|
raise typer.Exit(3)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user