Echo a file to the terminal. Works with text, figlets, ascii art, and full-color ansi.
Cat a file to the terminal. Works great with text, ascii art, and even colorful ansi.
This task requires
Grunt 0.4 or above.
npm install grunt-cat --save-dev
Once that's done, add this line to your project's Gruntfile:
Show a message whenever you want!
gruntinitConfigcat:logo:file: 'files/logo.txt'prod:file: 'files/prod-logo.txt'multi:src: 'files/**/*.txt'multi_stream:options: linebreak:falsesrc: 'files/**/*.txt';gruntloadNpmTasks'grunt-cat';// simplified examplegruntregisterTask'server' 'cat:logo' 'uglify' 'sass' 'server' 'notify:server';
file(required): Path to the file. This is relative to the root of your project.
grunt to lint and run the tests.
This project was created for and is used by Doodle or Die.
This is what it looks like when we run our local dev server using the production MongoDB:
June 11 - Added linebreak option, added src grunt convention (globbing/filter) March 17 - Update readme, dependency versions. Dec 28 - First version