Increase developer morale.
Increase developer morale. Show a random (cheeky|funny|wise|motivational) message in the terminal.
The list of messages to choose from is configurable and can be either a simple array of strings or a local or remote file path. If you are using a file, each message should be placed on it's own line.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-wow --save-dev
In your project's Gruntfile, add a section named
wow to the data object passed into
gruntinitConfigwow:your_target:source: 'you are amazing.' 'damn! you got game.' 'better luck next time.';
Either a simple array of strings or a path to a text file (will be split on line breaks).
Protip: Use a published Google Spreadsheet (CSV) so your entire team can add or remove messages at any time!
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.