grunt-redirect (npm): Grunt task to save command output to file.
Keywords: gruntplugin