packages/core/lib/index.js
function showTasks(tasks) {
  const taskList = Object.keys(tasks);
  if (taskList.length) {
    taskList.forEach((task) => {
      process.stdout.write(`Task Name: '${task}'`);
      if (tasks[task].description) {
        process.stdout.write(` - Description: ${tasks[task].description}`);
      }
      process.stdout.write('\n');
    });
  } else {
    process.stdout.write('No tasks available.\n');
  }
}
function showTasks(tasks) {
  const taskList = Object.keys(tasks);
  if (taskList.length) {
    taskList.forEach((task) => {
      process.stdout.write(`Task Name: '${task}'`);
      if (tasks[task].description) {
        process.stdout.write(` - Description: ${tasks[task].description}`);
      }
      process.stdout.write('\n');
    });
  } else {
    process.stdout.write('No tasks available.\n');
  }
}
Show Tasks from a Plugin along with Description.
@param {object} tasks - Tasks object returned from plugin.