var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.taskRnvPluginList=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _logger=require("../../core/systemManager/logger");
var _pluginManager=require("../../core/pluginManager");
var _taskManager=require("../../core/taskManager");
var _constants=require("../../core/constants");


var taskRnvPluginList=function taskRnvPluginList(c,parentTask,originTask){var o;return _regenerator.default.async(function taskRnvPluginList$(_context){while(1){switch(_context.prev=_context.next){case 0:
(0,_logger.logTask)('taskRnvPluginList');_context.next=3;return _regenerator.default.awrap(

(0,_taskManager.executeTask)(c,_constants.TASK_PROJECT_CONFIGURE,_constants.TASK_PLUGIN_LIST,originTask));case 3:

o=(0,_pluginManager.getPluginList)(c);


(0,_logger.logToSummary)("Plugins:\n\n"+o.asString);return _context.abrupt("return",

true);case 6:case"end":return _context.stop();}}},null,null,null,Promise);};exports.taskRnvPluginList=taskRnvPluginList;var _default=


{
description:'Show list of all available plugins',
fn:taskRnvPluginList,
task:'plugin list',
params:_constants.PARAMS.withBase(),
platforms:[]};exports.default=_default;
//# sourceMappingURL=task.rnv.plugin.list.js.map