lib/task/factory.js
function simple() {
		var recipe, configs;

		recipe = recipes.inline(taskInfo) || recipes.plugin(taskInfo) || recipes.task(taskInfo);
		if (recipe) {
			configs = Configuration.sort(taskInfo, rawConfig, parentConfig, recipe.schema);
			if (!configs.taskInfo.name) {
				configs.taskInfo.visibility = CONSTANT.VISIBILITY.HIDDEN;
			}
			return self.create(prefix, configs.taskInfo, configs.taskConfig, recipe);
		}
	}
function simple() {
		var recipe, configs;

		recipe = recipes.inline(taskInfo) || recipes.plugin(taskInfo) || recipes.task(taskInfo);
		if (recipe) {
			configs = Configuration.sort(taskInfo, rawConfig, parentConfig, recipe.schema);
			if (!configs.taskInfo.name) {
				configs.taskInfo.visibility = CONSTANT.VISIBILITY.HIDDEN;
			}
			return self.create(prefix, configs.taskInfo, configs.taskConfig, recipe);
		}
	}
function simple ( ) { var recipe , configs ; recipe = recipes . inline ( taskInfo ) || recipes . plugin ( taskInfo ) || recipes . task ( taskInfo ) ; if ( recipe ) { configs = Configuration . sort ( taskInfo , rawConfig , parentConfig , recipe . schema ) ; if ( ! configs . taskInfo . name ) { configs . taskInfo . visibility = CONSTANT . VISIBILITY . HIDDEN ; } return self . create ( prefix , configs . taskInfo , configs . taskConfig , recipe ) ; } }
Simple task should show up in task tree and cli, unless anonymous.
Simple task should show up in task tree and cli unless anonymous .