added cmd.js
added minimist to package.json