colors = require 'colors'Dependencies
colors = require 'colors'Logs the command result to the terminal, and applies colors to indicate whether the command ran successfully or not.
@name {String}
@args {String}
@result {Object}
logger = (name, args, result) ->
if result.exitCode is 0
console.log result.stdout.green
console.log "✔ #{args}".green
else
console.log result.stderr.red
console.log "✘ #{args}".redattach = (libs) ->
libs.logger = loggerExpose the attach function
module.exports = attach