mongoclean-cli
Clean all the collections in a mongo database thru the CLI. This is actually a simple wrapper for the excelent mongo-clean
Install
$ npm install mongoclean-cli --save-dev
Usage
$ mongoclean-cli -h Usage: mongoclean-cli [OPTIONS] [ARGS] Options: -u, --url [STRING] The URL
It uses dotenv, so be careful if you have a .env file in your current working directory (${PWD})
A simple way to use it is to call it in your test script before running the actual test tool.
"scripts": ,
or
"scripts": ,
License
MIT
PR && Issues
... are welcome