var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _chalk=_interopRequireDefault(require("chalk"));
var _common=require("../common");
var _buildHooks=require("../projectTools/buildHooks");

var RUN='run';
var LIST='list';
var PIPES='pipes';





var run=function run(c){
(0,_common.logTask)('run');

switch(c.subCommand){
case RUN:
return(0,_buildHooks.executeHook)(c);
case LIST:
return(0,_buildHooks.listHooks)(c);
case PIPES:
return(0,_buildHooks.listPipes)(c);
default:
return Promise.reject("cli:hooks: Sub-Command "+_chalk.default.white.bold(c.subCommand)+" not supported!");}

};var _default=





run;exports.default=_default;
//# sourceMappingURL=hooks.js.map