This gives us a lot more feedback when running the scripts in this repo if we pass the wrong args, it also gives us a nice --help functionality 🎉
➜ ember-jsonapi-docs git:(commander) ✗ ./index.js --help
Usage: index [options]
Options:
-p, --projects <project...> the projects that you want to run this for (choices: "ember", "ember-data")
-v, --version <version> project version
-a, --all process all versions (this will take a long time)
-c, --clean clean (not sure what this does)
-h, --help display help for command
➜ ember-jsonapi-docs git:(commander) ./generate-local.js --help
Usage: generate-local [options]
Options:
-p, --project <project> the project that you want to run this for (choices: "ember", "ember-data")
-v, --version <version> project version
-h, --help display help for command
This gives us a lot more feedback when running the scripts in this repo if we pass the wrong args, it also gives us a nice
--help
functionality 🎉