'use strict';
var chalk = require('chalk');
var notify = require('mns-core-module-template').utils.notify;
/**
* @module utils/fs/messages
*/
module.exports = {
/**
* copyOk
* @param filename {String}
* @returns {void}
*/
copyOk : function (filename) {
notify.log('copied default ' + chalk.green(filename) + ' to project\n');
},
/**
* fileSkipped
* @param filename {String}
* @returns {void}
*/
fileSkipped : function (filename) {
notify.log('skipped copying default ' + chalk.green(filename) + chalk.yellow(' already exists in project\n'));
},
/**
* copyError
* @param filename {String}
* @param error {Object}
* @returns {void}
*/
copyError : function (filename, error) {
notify.log(chalk.red(' cannot copy ' + filename) + '\nError: ' + error.message + '\n');
}
};