Automate Google App Engine application downloads

I am trying to automate the loading of a google app engine (java) project, there are no problems using ant macros to load in combination with one user + password, as after the first login through appcfg, but when I want to switch to another account, I need to re enter the password through stdin in appcfg.

It seems that I can’t find a way to pass the password as a transition to appcfg for username only, has someone successfully automated this process or had any ideas on how to do this?

+4
source share
2 answers

You can tell appcfg to read your password from standard input by passing the --passin switch. You can then redirect standard input to read your password from a file like this, to avoid appcfg offering you anything:

 appcfg.py update /path/to/my/app --email=me@xyz.com --passin < /path/to/my/pass 
+4
source

Source: https://habr.com/ru/post/1314173/


All Articles