asma-678-todo-list-cli
v1.0.0
Published
This is todo list where you add your daily based task.
Readme
Todo List CLI
A simple todo list that runs in the terminal using TypeScript and Inquirer.
Features
- Add a task
- Delete a task (pick it from the list)
- View all tasks
- Exit the program
- Runs in a loop until you choose Exit
How to run
npm install
npx tsc index.ts
node index.jsHow to use
- Choose an option from the menu:
Add Task,Delete Task,View Task, orExit. - Add Task — type your task and press Enter.
- Delete Task — your tasks are shown in a dropdown, pick the one to remove.
- View Task — prints your current list.
- Answer
yesornowhen asked if you want to do more.
Project Structure
todo-list-cli/
├── index.ts # Main source code
├── index.js # Compiled JavaScript output
├── package.json # Project config
└── tsconfig.json # TypeScript configMade 💛 by Asma-Akbar
