Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fetch updates for Firebase project using CLI tools?

I've set up Firebase command line tools. I've uploaded my files to Firebase Hosting. All is okay.

After this I changed Database rules via console in browser.

The question is: how to fetch (download) Firebase's files from server to my local directory?

I can't find such command neither on Github nor on Reference nor on this guide.

like image 368
Oleksii K. Avatar asked Dec 13 '16 20:12

Oleksii K.


1 Answers

This currently isn't possible, though I'll make note of this as a feature request.

In general, if you're using the CLI to deploy database rules we encourage you to always use the CLI to update the rules (or immediately copy and paste the newly-updated rules to your local copy). Since rules deployed by the CLI are often stored in version control systems, this is often the best way to make sure that a project with multiple contributors doesn't accidentally trample each other's rules.

like image 113
Michael Bleigh Avatar answered Nov 15 '22 11:11

Michael Bleigh