A simple command-line task management system built with Node.js and TypeScript.
- Clone the repository:
git clone <repository-url>
cd cli-task-manager
- Install the dependencies:
npm install
Add a Task
npx ts-node src/index.ts add "Title" "Description"
List All Tasks
npx ts-node src/index.ts list
Complete a Task
npx ts-node src/index.ts complete <id>
Remove a Task
npx ts-node src/index.ts remove <id>
- Used commander for CLI handling.
- Tasks are persisted in a JSON file using fs-extra.
- TypeScript ensures type safety and improved code quality.
- Keep it simple and minimalistic.
- Own error handling mechanism.
- Modular code structure for better maintainability
- Add tests