The interactive prompts are annoying and sometimes disturb development flow. I always have to answer these two stupid and annoying questions... I just want to avoid it.
Now:
$ viur deploy app live
✔ No vulnerabilities found.
Do you want to regenerate the requirements.txt located in the ./deploy? [y/N]:
Services to deploy:
descriptor: [/home/neo/xxx/yyy/deploy/app.yaml]
source: [/home/neo/xxx/yyy/deploy]
target project: [yyy]
target service: [default]
target version: [2023-11-22-neo]
target url: [http://2023-11-22-neo.yyy.ey.r.appspot.com]
target service account: [yyy@appspot.gserviceaccount.com]
(add --promote if you also want to make this service available from
[http://yyy.ey.r.appspot.com])
Do you want to continue (Y/n)?
Wish:
$ viur deploy app live -y
✔ No vulnerabilities found.
requirements.txt successfully generated
Services to deploy:
descriptor: [/home/neo/xxx/yyy/deploy/app.yaml]
source: [/home/neo/xxx/yyy/deploy]
target project: [yyy]
target service: [default]
target version: [2023-11-22-neo]
target url: [http://2023-11-22-neo.yyy.ey.r.appspot.com]
target service account: [yyy@appspot.gserviceaccount.com]
(add --promote if you also want to make this service available from
[http://yyy.ey.r.appspot.com])
Beginning deployment of service [default]...
╔════════════════════════════════════════════════════════════╗
╠═ Uploading 12 files to Google Cloud Storage ═╣
╚════════════════════════════════════════════════════════════╝
File upload done.
Updating service [default]...done.
Deployed service [default] to [http://2023-11-22-neo.yyy.ey.r.appspot.com]
You can stream logs from the command line by running:
$ gcloud app logs tail -s default
To view your application in the web browser run:
$ gcloud app browse --project=yyy
Note: The parameter can also be other than -y, I just want this feature.
The interactive prompts are annoying and sometimes disturb development flow. I always have to answer these two stupid and annoying questions... I just want to avoid it.
Now:
Wish:
Note: The parameter can also be other than
-y
, I just want this feature.