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

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

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

opts=(0,_templateManager.getTemplateOptions)(c);
(0,_logger.logToSummary)("Templates:\n\n"+opts.asString);return _context.abrupt("return",
true);case 6:case"end":return _context.stop();}}},null,null,null,Promise);};exports.taskRnvTemplateList=taskRnvTemplateList;var _default=


{
description:'Show list of available templates',
fn:taskRnvTemplateList,
task:'template list',
params:_constants.PARAMS.withBase(),
platforms:[],
skipPlatforms:true};exports.default=_default;
//# sourceMappingURL=task.rnv.template.list.js.map