To-Do List CLI App is a simple Python-based command-line application that helps you organize daily tasks efficiently. You can add, view, complete, or delete tasks directly from your terminal. It saves all data in a text or JSON file so your tasks remain even after closing the app.
A simple command-line To-Do List App built in Python.
It lets you add, view, mark complete, and delete tasks — all from your terminal.
Perfect for beginners to learn loops, conditionals, file handling, and basic logic in Python.
- ➕ Add new tasks
- 📜 View all tasks
- ✅ Mark tasks as completed
- ❌ Delete specific tasks
- 💾 Save tasks to a text/JSON file
- 🔁 Load tasks automatically when reopened
- Python basics (loops, conditionals, functions)
- File handling (
open,read,write) - Lists and dictionaries
- Input validation
- Python 3.x
No external libraries are needed — runs with standard Python!
- Clone the repository:
git clone https://github.com/your-username/todo-cli.git cd todo-cli - Run the program:
python todo.py
==== To-Do List App ====
- Add Task
- View Tasks
- Complete Task
- Delete Task
- Exit Enter your choice: 1 Enter task: Finish Python assignment ✅ Task added successfully!
🗂️ File Structure
todo-cli/ │ ├── todo.py # Main Python script ├── tasks.txt # Stores tasks persistently └── README.md # Documentation
🌟 Future Enhancements 1.GUI version using Tkinter 2. Due dates and categories 3. Priority levels 4. Colorful output with colorama 5. Sync with Google Tasks.