Hey there! This is my implementation of a simple task tracker command-line app.
- Add tasks with titles and descriptions
- Set due dates if you want (totally optional)
- List all your tasks
- Mark things as done when you finish them
- Delete tasks you don't need anymore
- Sorts by due date if you want
- Saves everything to a JSON file
You'll need Python 3.6+ to run this. Just download the files and you're good to go!
python main.py add "Finish homework" -d "Math problems on page 32" --due 2023-12-31
python main.py list
If you Want to sort by due date, add --sort-by-due:
python main.py list --sort-by-due
python main.py complete 1
python main.py delete 1
python main.py --help
- main.py - The main program
- task_manager.py - Task management functions
- storage.py - Handles saving/loading data
- tasks.json - Where your tasks are stored
Had some trouble with the date sorting, especially when some tasks have due dates and others don't. Also making sure the interface was easy to use took some thinking.