Now it also has a command line tool, and you can push and launch apps from the command line without even having to write a custom script that uses the module (of course, you can still use the module code by requiring it).
install-to-adb /path/to/your/firefoxos/app --launch
Since I'm running the tool in the same directory as the app is, I don't even need to specify its full path, I can just use a dot, which in UNIX based systems means "the current path":
install-to-adb . --launch
Being pragmatically lazy like this is amazing! :-D
This is also the first time I write a command line tool with node so if there are weirdnesses feel free to file an issue, or (even better) tell me how to fix them.
I published the module on npm too. So if you need to install lots of apps to devices regularly it might be worth to install it globally (wowowow):
npm install -g install-to-adb
Source code: https://github.com/sole/install-to-adb