We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db3de2d commit 06f1dc6Copy full SHA for 06f1dc6
src/viur_cli/local.py
@@ -46,10 +46,13 @@ def run(profile, additional_args):
46
f"Please install the 'gcloud' tool or Log in with an appropriate account.")
47
48
conf = config.get_profile(profile)
49
+ additional_args = list(additional_args)
50
- if appyaml := conf.get("appyaml"):
51
- additional_args = [f"--appyaml={appyaml}", *additional_args]
52
-
+ if conf.get("port"):
+ additional_args.append(f"--port={conf['port']}")
53
+ if conf.get("gunicorn_port"):
54
+ additional_args.append(f"--gunicorn_port={conf['gunicorn_port']}")
55
+
56
utils.system(
57
f'app_server -A={conf["application_name"]} {conf["distribution_folder"]} {" ".join(additional_args)}')
58
0 commit comments