0.0.5 • Published 8 years ago

eradicate v0.0.5

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

Eradicate

A configurable command line tool for cleaning up behind yourself.

Installing

npm install eradicate -g

Some cool things about Eradicate

  • Eradicate preserves directory structure when cleaning everything up.
  • Safe mode provides a "soft" eradication. You can undo your changes if needed if safe mode is used.
    • Its good to start with safe mode in a new project.
    • If you are happy with your results, you can run eradicate without the --safe flag to completely remove the clutter!

Commands

eradicate this
  run eradicate recursively against a top level directory.

OPTIONS:
  --config  (-c) | Path to your configuration file
  --safe    (-s) | Run eradicate in safe mode (TODO)
  --verbose (-v) | Run eradicate in verbose mode

Built with Bower in mind

Some of the frustration I have with bower is its lack of a standard package structure. Its aggravating in a number of ways just using it, but even more aggravating is the fact that each package is bundled with its source as well.

I created eradicate to "fix" this problem. The idea is that you can bower install all of your normal packages, and then simply run eradicate (with a provided config file) to remove all of the undesired content from your packages.

Don't get me wrong, I love bower. I use it all the time and I think it is a great tool! I just saw a need I had, and fixed it. Hopefully this little tool will help you out as well.

Example config

{
  "tmp":"./tmp/",
  "target":"./bower_components/",
  "protect":[
    "jquery/dist/jquery.js",
    "bootstrap/dist/css/bootstrap.min.css",
    "bootstrap/dist/js/bootstrap.min.js",
    "riot/riot.min.js"
  ]
}
0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago