question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

expand the documentation on how to use firebase-tools as a module

See original GitHub issue

A lot of the commands you can do via CLI are very hard to figure out how to do programmatically when loading it as a module. Updated documentation on syntax, available commands, etc, would be helpful.

Questions I have (or had but soluved):

  • how to print a list of all keys using tools.functions.config.get
  • how to deploy functions
  • how to get a list of all functions deployed

    note on this one: had to really dig into cloudfunctions.js, api.js and auth.js. turns out this functionality is available inside the package, just not surfaced in firebase-tools. this is really helpful.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:18
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
ahavertycommented, Aug 31, 2018

I’m struggling to get anything working here too. @SJAnderson Can you post some of your examples here? Particularly the config get (and set if you have it) 🙏

1reaction
samtsterncommented, May 13, 2019

@jesperp thanks for your clear and concise explanation! Even as someone who “knows” the answer to this, I will refer to your answer when I forget until we get the docs up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase CLI reference
Install the Firebase CLI; Log in and test the Firebase CLI; Update to the latest CLI version; Use the CLI with CI systems....
Read more >
Using firebase tools as a node module in firebase function
I am trying to call the export method from the firebase tools node module in a firebase function. await firebase_tools.auth.export(tempLocalFile);.
Read more >
React Native Firebase
The @react-native-firebase/app module must be installed before using any other Firebase service. 2. Android Setup. To allow the Android app to securely connect ......
Read more >
Connect to Firebase - Android Developers
Click Tools > Firebase to open the Assistant window. Click to expand one of the listed features (for example, Analytics), then click the...
Read more >
Cloud Functions for Firebase, sending email - Edigleysson Silva
To create your project you must have a Google account and access the https://console.firebase.google.com link. You will see the Firebase welcome screen. On...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found