This is a simple Command-Line Interface (CLI) To-Do List application built using Python and curses. It allows users to add, view, mark as completed, and delete tasks while displaying a neat interface with a persistent task list.
✅ Add tasks to your list
✅ View all pending tasks
✅ Mark tasks as completed
✅ Delete tasks
✅ Interactive UI with menu on the right side
Ensure you have Python installed on your system. You also need curses, which is included by default in Linux/macOS. On Windows, install windows-curses:
pip install windows-curses-
Clone the repository:
git clone https://github.com/gauravsingh-02/cli-todo-list.git cd cli-todo-list -
Create and activate a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
-
Run the application:
python todo.py
-
Exit the application by selecting the Exit option.
- The tasks are stored in a simple text file (
tasks.txt). - The app displays tasks on the left and the menu on the right.
- User input is taken interactively using
curses.
- Implement SQLite database support
- Add color themes for better UI
- Export tasks to a file