firebase / firebase/firebase-tools
FR: Output deployment update status in firebase-tools programmatically deployment
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
I created the nodejs script deploying firebase by using firebase-tools module with reference to [firebase-tools#using-as-a-module](https://github.com/firebase/firebase-tools#using-as-a-module). It is possible to deploy the firebase applications such as cloud function, hosting and firestore.
However this script didn't output the update status log for firebase applications. In CLI case, we can see the update status log when deploying firebase applications.
So how can I see the update status log with programmatically deployment ?
The script deploying firebase apps is like bellow.
```typescript
import firebaseTools from 'firebase-tools';
firebaseTools.deploy({
only: 'hosting,firestore,functions:hogeCF',
project: 'winor-cf',
token: '*******',
cwd: process.cwd(),
force: true,
options: ['--debug', '--non-interactive'],
}).then(console.log).catch(console.error);
```
Contributor guide
Assessment
This issue has not been assessed yet.