refactor(cli): use api instead of gcloud commands
To fix ERROR: (gcloud) Unable to write file [/dev/stdout]: [Errno 6] No such device or address: '/dev/stdout'
on certain platforms.
Edited by Michael
To fix ERROR: (gcloud) Unable to write file [/dev/stdout]: [Errno 6] No such device or address: '/dev/stdout'
on certain platforms.