firebase emulators:exec <script>

Start the local Firebase emulators, run a test script, then shut down the emulators

Arguments

NameDescription
script

Options

NameDescription
--only <arg>Only specific emulators. This is a comma separated list of emulator names. Valid options are: ["auth","functions","firestore","database","hosting","pubsub"]
--inspect-functionsEmulate Cloud Functions in debug mode with the node inspector on the given port (9229 if not specified)
--import <arg>Import emulator data from a previous export (see emulators:export)
--export-on-exitAutomatically export emulator data (emulators:export) when the emulators make a clean exit (SIGINT), when no dir is provided the location of --import [dir] is used
--uiRun the Emulator UI
-h, --helpOutput usage information