bundle exec
for NodeJS
npm install -g zxc
Note: 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 --help
We can just do this:
zxc babel --help
And, 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.