My operating system is windows 10.
I have a scheduled firebase function that I would like to run locally:
functions = require('firebase-functions') admin = require('firebase-admin') exports.myFunction = functions.pubsub.schedule('every 30 minutes').onRun((context) => { console.log('Hello World!') return null }) To run this function locally I run two commands(Answer taken from here):
firebase functions:shell myFunction() Can I execute this command in one line of code instead of two?