firebase apps:sdkconfig WEB 1:123456789:web:def456 -o firebase-config.js
Save the web app config to a file
Writes the Firebase web config for app 1:123456789:web:def456 to firebase-config.js instead of printing it. The config contains the apiKey, projectId, and other values you pass to initializeApp. Download it after creating a new web app to wire up the frontend.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.