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 _workspace=require("../projectTools/workspace");


var WORKSPACE='workspace';


var LIST='list';





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

switch(c.command){
case WORKSPACE:
switch(c.subCommand){
case LIST:
return(0,_workspace.listWorkspaces)(c);}


return Promise.reject("cli: Command "+_chalk.default.white.bold(c.command)+" does not support method "+_chalk.default.white.bold(c.subCommand)+"!");}


return Promise.reject("cli: Command "+_chalk.default.white.bold(c.command)+" not supported!");
};var _default=





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