Task Breakdown
APPROACH 1: Basic & Manual
Save the Generated Task List as JSON File under .github/tasks.json
{
"id": number,
"title": string,
"description": string,
"status": "pending",
"dependencies": number[] (IDs of tasks this depends on),
"priority": "high" | "medium" | "low",
"details": string (implementation details),
"testStrategy": string (validation approach)
}
Create a new file which will read the JSON formatted tasks and display it as table in terminal.
// Task-Master Style Table View of status.json (Uncomment the Description, Details, and TestStrategy fields if needed)
// Use this Command to execute:
// node .github/view-status.js
import fs from 'fs';
const data = JSON.parse(fs.readFileSync('.github/tasks.json', 'utf-8'));
const tasks = data.tasks.map(task => ({
ID: task.id,
Title: task.title,
Status: task.status,
Priority: task.priority,
Dependencies: task.dependencies.join(', '),
// Description: task.description,
// Details: task.details,
// TestStrategy: task.testStrategy
}));
console.table(tasks);
Last updated