Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Manager CLI

A small TypeScript command-line task manager that stores tasks in a local tasks.json file.

Features

  • Add, list, complete, and remove tasks
  • Persistent task storage in tasks.json
  • Simple command syntax and help output
  • Built-in Node.js tests using the Node test runner

Getting started

  1. Install dependencies:
pnpm install
  1. Build the project:
pnpm build
  1. Run the CLI:
pnpm start list

Commands

  • add <task>: Add a new task
  • list: List all tasks
  • complete <id>: Mark a task as completed
  • remove <id>: Remove a task
  • -h, --help: Show usage information

Examples

pnpm start add "Buy milk"
pnpm start list
pnpm start complete 1
pnpm start remove 1

Testing

Build the project and run the compiled test suite:

pnpm test

About

A JSON synced Task Manager CLI using TypeScript and Node.js

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages