New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support emulators:export and import for auth. #2955
Conversation
Open question: what if you import with a different projectId? |
Removed projectId from exported file path for now. It now exports only from the default projectId and imports only to the default projectId. This is now ready for review. |
What's the status on this? It's merged to master but not yet released? |
@farcondee this has been merged and released, if you're using the latest CLI version and having trouble using this please file a new issue! |
@samtstern My bad, I had an older version. Installed the latest and this fix works perfectly! |
Description
Adds support for
emulators:export
andemulators:start --import
.Scenarios Tested
See end to end test added
Sample Commands
firebase emulators:start # on separate terminal firebase emulators:export my-dump
Later:
firebase emulators:start --import my-dump
.--export-on-exit
should also work, although I didn't test it.Fixes #2749.