Look at MEANJS.org, it has a very nice Yoeman packager for include, exclude of features from the package.
CLI would hopefully have some config capabilities, where you could set up everything to use local DB, or remote DB, for example. Then all the testing, all services would be clued into a global setting for this. So if you change from DEV to PRODUCTION, this would be easy to set up in the CLI.