Firebase tools auto detects the available functions and deploy when we issue the below command
firebase deploy --only functions
But, we would like to use gcloud cli as it has more control for providing environment variables/for specifying a vpc connector.
Unfortunately, when using gcloud functions deploy, we need to specify the function name for each function.
Is it possible to get the list of http functions/triggers automatically from the source?
Update : As gcloud cli needs the type of the function (http/event), how to find out the type of the exported function automatically so that i can automate instead of specifying each function details?