Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskCLI

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

I made this project to practice:

  • TypeScript basics
  • class-based design
  • file storage with JSON
  • simple CLI command handling

Features

  • List all tasks
  • Add one or more tasks
  • Mark a task as done
  • Remove a task by id
  • Persist tasks in data/tasks.json

Tech Stack

  • TypeScript
  • Node.js
  • tsx

Getting Started

Install dependencies:

npm install

Run the project:

npm run dev -- help

Type check:

npm run check

Commands

npm run dev -- list
npm run dev -- add "Learn TypeScript"
npm run dev -- add "Task One" "Task Two"
npm run dev -- done 1
npm run dev -- remove 1

Project Structure

src/
  index.ts
  task-manager.ts
  storage.ts
  types.ts
data/
  tasks.json

Notes

This is a small learning project, so the focus is on clarity and practice rather than full production features.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages