pstadler / flightplan

Run sequences of shell commands against local and remote hosts.
https://www.npmjs.com/package/flightplan
MIT License
1.82k stars 116 forks source link

Expose Flightplan constructor #122

Open th3l0g4n opened 8 years ago

th3l0g4n commented 8 years ago

When requiering flightplan alsways the same instance will be returned.

It would be very helpful if in https://github.com/pstadler/flightplan/blob/master/lib/index.js, maybe additionally to the instance, the actual constructor was exported to create new instances an demand. This would making embedding flightplan into other applications much more easier.

pstadler commented 8 years ago

Definitely thinking about adding that.