/*
Copyright (c) 2012, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://yuilibrary.com/license/
*/
require('colors');


var prefix = 'shifter'.magenta;

exports.info = function(str) {
    console.log(prefix, 'info'.white, str);
};

exports.warn = function(str) {
    console.log(prefix, 'warn'.yellow, str);
};

exports.error = function(str) {
    console.log(prefix, 'error'.red, str);
    process.exit(1);
};

exports.err = function(str) {
    console.log(prefix, 'err'.red, str);
};

/*
Copyright (c) 2012, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://yuilibrary.com/license/
*/
require('colors');


var prefix = 'shifter'.magenta;

exports.info = function(str) {
    console.log(prefix, '[info]'.white, str);
};

exports.warn = function(str) {
    console.log(prefix, '[warn]'.yellow, str);
};

exports.error = function(str) {
    console.log(prefix, '[error]'.red, str);
    process.exit(1);
};

exports.err = function(str) {
    console.log(prefix, '[err]'.red, str);
};

Make shifter look like other YUI cli tools
Make shifter look like other YUI cli tools
