todolist_ahsan-cli
v1.0.1
Published
The TypeScript Todo List project is a task management application designed to help users organize their daily tasks efficiently. Built using TypeScript, this project provides a robust and scalable solution for managing tasks with features such as task cre
Downloads
2
Readme
Todo List Application
This is a simple command-line Todo List application built using Node.js. It allows you to add, update, view, and delete items from your todo list. The application uses inquirer
for interactive prompts and chalk
for colorful console messages.
Features
- Add Item: Add a new item to your todo list.
- Update Item: Update an existing item in your todo list.
- View Item: View all items in your todo list.
- Delete Item: Delete an item from your todo list.
- Exit: Exit the application.
Prerequisites
Installation
Clone the repository:
git clone https://github.com/yourusername/todo-list-app.git cd todo-list-app
Install dependencies:
npm install # or yarn install
Make the script executable:
chmod +x ./index.js
Usage
To run the application, use the following command:
./index.js
You will be prompted with a menu to choose an option for managing your todo list.
File Structure
index.js: The main entry point of the application.
todomethods.js: Contains methods for adding, updating, viewing, and deleting todo items.
questions.js: Contains the questions for the inquirer prompts.
chalk: Used for colorful console output.
inquirer: Used for interactive command-line prompts.
todomethods.js: Contains the logic for todo list operations.
questions.js: Defines the questions for the inquirer prompt.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
If you would like to contribute to this project, please fork the repository and submit a pull request. We welcome all contributions!