Search code examples
firebasegoogle-cloud-functionsfirebase-cli

Firebase CLI - How to Manage Cloud Functions


Using the firebase-cli you can easily deploy functions and show the logs. But I have yet to find the option to download or retrieve cloud functions.

I've dug through quiet a bit of the -h commands and nothing yet.

Is it possible to download / retrieve a projects cloud functions through the firebase-cli? I tend to switch between computers from home to work and I need to go to the console to copy the source code and redeploy.


Solution

  • The Firebase CLI doesn't provide a way to get deployed code. It's expected that you use some form of source control for managing code between developers and machines.