firebase CLI

firebase command line tool

The firebase CLI lets you manage your firebase proyects and services from the command line. It also contains service and data emulators to speed up local development.


A lot of things in Firebase can managed in the website but its allways recommended use the cli and Git repo

    firebase init  
    firebase deploy
    firebase deploy --only hosting
    firebase deploy --only functions
    firebase deploy --only firestore:rules
    firebase emulators:start
    firebase emulators:exec "mocha ./test.js" //execute test of emulators
    firebase login:ci //get token for ci integration like gitlab cicd