afloyd / mongo-migrate

MIT License
159 stars 81 forks source link

Fix CLI instructions, must include -runmm flag #25

Closed kmiyashiro closed 9 years ago

kmiyashiro commented 9 years ago

I think the instructions are too verbose in general, but just scanning for CLI usage I got the wrong info from the README. Took me a while to figure out that it was inconsistent.

Also, I think you should implement a bin for the CLI https://docs.npmjs.com/files/package.json#bin

That way you can run mongo-migrate from npm scripts, it follows conventions, and you don't need to run it with -runmm.