mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-24 02:30:50 +00:00
16 lines
359 B
JavaScript
Executable File
16 lines
359 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const { exec } = require('child_process')
|
|
|
|
const command =
|
|
'firebase emulators:export --project demo-community-platform-emulated --force ./dump'
|
|
|
|
exec(command, (error, stdout, stderr) => {
|
|
if (error) {
|
|
console.error(`exec error: ${error}`)
|
|
return
|
|
}
|
|
console.log(`stdout: ${stdout}`)
|
|
console.error(`stderr: ${stderr}`)
|
|
})
|