Add a CLI flag for hosting project previous release count option
I have an ecommerce SAAS company where each client/tenant website is hosted on Firebase Hosting. We have over 80 websites hosted across six Firebase projects.
We create each new site using the Firebase CLI:
firebase hosting:sites:create [options] <siteId>
The only options for this command are:
--app <appId> specify an existing Firebase Web App ID
-h, --help display help for command
I'd like to request an additional option to set the "previous releases to keep", aka "previous release count".
After I create a new site, I have to deploy the new website to Firebase hosting before I can set the previous release count on the Firebase Hosting website. The website won't let me set the release count before deploying my first release.
If I can set this previous release count when creating the site, then I don't have to wait until after I complete these two required steps (plus remember to do it).
If I forget to set the previous release count, then I'll end up with too many previous releases that I'm paying for that I'll never use.
Basically, this would eliminate one of the many little annoying steps I need to do manually when launching a new tenant website.