bundle exec for NodeJS
npm install -g zxcNote: zxc currently only works on Unix-based environments. Sorry, Windows peoples.
Let's say that our project installed babel-cli as a dev dependency. We'd like to list out the help for this command. So, Instead of doing this:
./node_modules/.bin/babel --helpWe can just do this:
zxc babel --helpAnd, that's pretty much all there is to it.
Nothing. It was just easy to type.
It's pronounced "bundle exec"...
Just kidding. Why don't we all just agree to pronounce it as "zek"? You know -- like the last half of the word "exec".
- Provide better error handling for invalid / missing commands.
- Figure out how to support Windows.