tpresley / node-remote-exec

Execute shell commands on one or more remote computers via SSH
MIT License
15 stars 6 forks source link

'before' host command exec method #2

Closed shellscape closed 10 years ago

shellscape commented 10 years ago

I'd love to have a method that was execute before each host's command were executed. Would allow for some fancy reporting in the console.

tpresley commented 10 years ago

Good idea. I added a beforeEach callback to the options object that will receive host, commands, and params

shellscape commented 10 years ago

Thanks for that. Much appreciated.