'Can I enabled the 'Firebase Management API' from the command line?

I am trying to automate my google cloud project creation using gcloud and firebase cli.

When I try to create a firebase app using 'firebase apps:create' command, I get an error telling me I need to go to the google cloud console to enable the Firebase Management API for the the project. Not manually going to the google cloud console is EXACTLY what I am trying to avoid my writing this command line script.

Is there are way I can enable this API for a project from the command line?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source