Skip to content

mauscoelho/cli-task-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Management System

Description

A simple command-line task management system built with Node.js and TypeScript.

Installation

  1. Clone the repository:
git clone <repository-url>
cd cli-task-manager
  1. Install the dependencies:
npm install

Usage

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>

Design Decisions

  • 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.

Future improvements

  • Own error handling mechanism.
  • Modular code structure for better maintainability
  • Add tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published