You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Firebase CLI can also be used programmatically as a standard Node module. This can only be done on your machine, and cannot be done within Cloud Functions.
My question is – why can't it be used as a standard Node module from within a Cloud Function?
An example where this would be useful:
To be able to execute the auth:export command from within a scheduled Cloud Function to take a regular backup of the user authentication database.
The text was updated successfully, but these errors were encountered:
@ollietreend you definitely can use the CLI as a module inside a Cloud Function, that warning is a little harsh. The reason for that warning is that sometimes the CLI requires access to a file system and that will not work reliably on a Cloud Function.
The project README states:
My question is – why can't it be used as a standard Node module from within a Cloud Function?
An example where this would be useful:
To be able to execute the
auth:export
command from within a scheduled Cloud Function to take a regular backup of the user authentication database.The text was updated successfully, but these errors were encountered: