From c1d82c4b3d53b73cea1a2ef991539fe18d8564f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Fri, 14 Apr 2023 16:12:28 +0200 Subject: [PATCH] feat: only auth in deploy --- src/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.py b/src/cli.py index 2a637de..46f9033 100644 --- a/src/cli.py +++ b/src/cli.py @@ -37,7 +37,6 @@ def path_param(func): def main(ctx): if ctx.invoked_subcommand is None: click.echo(ctx.get_help()) - jina_auth_login() @main.command() @@ -71,6 +70,7 @@ def run(path): @main.command() @path_param def deploy(path): + jina_auth_login() from src.options.deploy.deployer import Deployer path = os.path.expanduser(path) path = os.path.abspath(path)