Grunt task for clearing your terminal.
JavaScript
Switch branches/tags
Nothing to show
Latest commit 15368d7 Mar 23, 2013 @geddski release 0.2.1
Permalink
Failed to load latest commit information.
bin
tasks
test
.gitignore
.jshintrc
.npmignore
Gruntfile.js
LICENSE-MIT
README.md
package.json

README.md

grunt-clear

Clears your command line. Automate all the things.

Getting Started

Install this grunt plugin next to your project's Gruntfile with: npm install grunt-clear

Then add this line to your project's Gruntfile:

grunt.loadNpmTasks('grunt-clear');

Documentation

Turn your console output into a live dashboard by clearing it before displaying new results. Add this task as the first item of your watch task:

watch: {
  clear: {
    //clear terminal on any watch task. beauty.
    files: ['**/*'], //or be more specific
    tasks: ['clear']
  }
}

The watch task will run things in order, so make sure clear is very first otherwise your console will clear the output of other tasks you are probably interested in.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Todo

Write tests Make sure it works on linux Do screencast

License

Copyright (c) 2012 Dave Geddes
Licensed under the MIT license.