firebase-tools
firebase-tools copied to clipboard
allow for logging when using as a node dependency
I noticed that when I called deploy like in the example below (warning, its coffee-script), none of the verbose CLI logs printed. Looks like logging is setup in the bin file, could we set that up in the module as well? Possibly add a verbose option to turn on or off.
fb_tools.deploy {
project: project
projectDir: project_path
cwd: project_path
only: 'functions'
}
.then ->
log "#{project} deployed"
next()
The nonInteractive: true option mentioned in #184 worked for me.
@SJAnderson does the nonInteractive: true work for you? Please reopen if this is still an issue.