Now that Cloud supports spend caps for specific products (announcement, docs), it would be great if the firebase init functions and firebase init apphosting commands prompted about setting up a spend cap.
The CLI could first check if a relevant spend cap is already set on the billing account. If it is, log that the spend cap exists and what its limit is. If it isn't, ideally start a flow to create a spend cap in the CLI.
As a short-term stopgap, firebase init could at least print a link to the spend cap docs.
Now that Cloud supports spend caps for specific products (announcement, docs), it would be great if the
firebase init functionsandfirebase init apphostingcommands prompted about setting up a spend cap.The CLI could first check if a relevant spend cap is already set on the billing account. If it is, log that the spend cap exists and what its limit is. If it isn't, ideally start a flow to create a spend cap in the CLI.
As a short-term stopgap,
firebase initcould at least print a link to the spend cap docs.