How pacutacatete100/mytodocli works
myTodoCLI is a terminal to-do manager. Users invoke commands to list, create, edit, complete, or remove main tasks and subtasks; the CLI delegates task operations to a controller, which updates the in-memory list and task objects persist changes to JSON. Date parsing and optional natural-language extraction support task creation and editing. The CLI also provides due-date, class, schedule, and progress views. The README only documents the initial JSON shape; the sampled CLI excerpt is partial, so some command wiring and persistence details are not shown.
Main entry points: todo.py Commands and views · MainTask.py Main tasks · TaskController.py Task controller · SubTask.py Subtasks
Components 9
CLI and views
- Commands and views
todo/todo.py
Task management
- Task controller
todo/TaskController.py - Main tasks
todo/MainTask.py - Subtasks
todo/SubTask.py - Task base
todo/Task.py
Date and inference
- Date processing
todo/DateProcessor.py - Text inference
todo/Inference.py
Other components
- CLI user
- JSON task file
Connections 16
- CLI user → Commands and views: invokes
- Commands and views → Task controller: calls
todo/todo.py - Commands and views → Main tasks: creates
todo/todo.py - Commands and views → Subtasks: creates
todo/todo.py - Commands and views → Date processing: processes dates
todo/todo.py - Commands and views → Text inference: extracts task data
todo/todo.py - Task controller → Main tasks: loads and updates
todo/TaskController.py - Task controller → Subtasks: updates
todo/TaskController.py - Task controller → Date processing: processes edits
todo/TaskController.py - Main tasks → Subtasks: converts and renders
todo/MainTask.py - Main tasks → Task base: inherits
todo/MainTask.py - Subtasks → Task base: inherits
todo/SubTask.py - Main tasks → Date processing: formats due dates
todo/MainTask.py - Task controller → JSON task file: loads and saves
todo/TaskController.py - Main tasks → JSON task file: reads and writes
todo/MainTask.py - Subtasks → JSON task file: reads and writes
todo/SubTask.py