A simple command-line interface (CLI) application for managing todo tasks. This application allows you to add, list, and manage your daily tasks directly from your terminal.
- Add new tasks
- View all tasks
- Mark tasks as complete
- Delete tasks
To run this application, you need:
- Python 3.13 or newer
-
Clone the repository:
git clone https://github.com/Muhammad-Rehan/Todo-In-Memory-Python-Console-App.git cd Console-Based-Todo-App -
Create and Activate Virtual Environment: It is highly recommended to use a virtual environment. This project includes a
venvdirectory, and you can create and activate it as follows:# Create the virtual environment python -m venv venvActivate it:
- Windows (Command Prompt/PowerShell):
.\venv\Scripts\activate
- macOS/Linux (bash/zsh):
source venv/bin/activate
- Windows (Command Prompt/PowerShell):
-
Install
uvPackage Manager: This project usesuvfor environment and package management. If you don't have it installed, you can install it usingpiponce your virtual environment is active:pip install uv
Note: Although this project has no external library dependencies,
uvis the standard tool for managing this project's environment.
Important: Ensure you have activated the virtual environment before running the application.
You can run the application using the provided batch script or directly via the Python interpreter.
Simply execute the run.bat file from the project root:
run.batNavigate to the project's root directory and run the following command:
python -c "import sys; sys.path.insert(0, 'src'); from todo_app.cli.interface import TodoCLI; cli = TodoCLI(); cli.run()"This command directly imports and runs the TodoCLI interface.
Once the application is running, follow the on-screen prompts to manage your todo list.
Here are some screenshots demonstrating the application's functionality: