gulp-msg
gulp plugin for command line notification
npm
Install withnpm install gulp-msg
Usage
var msg = ; msg;msg;msg;msg;msg;msg;msg;
API
info, success, warning, error, note, time
For example info
Use msg.info
for each file into the stream
gulp ; //'Notice!' for each file
Use msg.flush.info
at the and of the stream
gulp ; //'Notice!' at the and of stream
Use msg.Info
from the outside of the stream
msg; //'Notice!' in node.js application
msg.info([before,] message, [after,] [data])
Show message
Parameters
before
after
Type: String
Delimiter before/after the message. Each character is repeated 40 times
Usage
msg
data
Type: Object
Data for message. Inherited values:
env - process.env file - vinyl file file.relative - relative path (extra field) file.basename - basename (extra field) duration - duration of streaming totalDuration - duration from gulpfile start
message
Type: String
Lodash template.
Usage
msg//Enviroment: dev. Foo: bar
License
Copyright (c) 2014-2015 Oleg Istomin Released under the MIT license