loginv2
This commit is contained in:
parent
8084a6d140
commit
8cb443f6fe
@ -383,6 +383,13 @@ 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(
|
||||||
@ -569,12 +576,7 @@ def deploy(
|
|||||||
|
|
||||||
hosting_cli.deploy(
|
hosting_cli.deploy(
|
||||||
app_name=app_name,
|
app_name=app_name,
|
||||||
export_fn=lambda zip_dest_dir,
|
export_fn=lambda zip_dest_dir, api_url, deploy_url, frontend, backend, zipping: export_utils.export(
|
||||||
api_url,
|
|
||||||
deploy_url,
|
|
||||||
frontend,
|
|
||||||
backend,
|
|
||||||
zipping: export_utils.export(
|
|
||||||
zip_dest_dir=zip_dest_dir,
|
zip_dest_dir=zip_dest_dir,
|
||||||
api_url=api_url,
|
api_url=api_url,
|
||||||
deploy_url=deploy_url,
|
deploy_url=deploy_url,
|
||||||
@ -677,12 +679,7 @@ def deployv2(
|
|||||||
|
|
||||||
hosting_cli.deploy(
|
hosting_cli.deploy(
|
||||||
app_name=app_name,
|
app_name=app_name,
|
||||||
export_fn=lambda zip_dest_dir,
|
export_fn=lambda zip_dest_dir, api_url, deploy_url, frontend, backend, zipping: export_utils.export(
|
||||||
api_url,
|
|
||||||
deploy_url,
|
|
||||||
frontend,
|
|
||||||
backend,
|
|
||||||
zipping: export_utils.export(
|
|
||||||
zip_dest_dir=zip_dest_dir,
|
zip_dest_dir=zip_dest_dir,
|
||||||
api_url=api_url,
|
api_url=api_url,
|
||||||
deploy_url=deploy_url,
|
deploy_url=deploy_url,
|
||||||
|
Loading…
Reference in New Issue
Block a user