How muhaadnasir/task-manager works
Task Manager is a CLI for creating, completing, listing, and reporting on tasks. The user interacts through the CLI, which delegates task operations to the manager; the manager updates task objects and persists changes through injected storage, while notifications report outcomes. The CLI also passes the manager’s tasks to the report generator. The README documents both JSON-file and in-memory storage. Source excerpts show the JSON implementation and runtime wiring; the documented in-memory option is included, but no further runtime connections are inferred.
Main entry points: main.py CLI · manager.py Task manager · storage.py Storage implementations · model.py Task model
Components 7
CLI workflow
- CLI
main.py
Task domain
- Task manager
manager.py - Task model
model.py - Report generator
report.py
Storage and output
- Storage implementations
storage.py - Console notifier
notifier.py
Other components
- User
Connections 11
- User → CLI: uses
README.md - CLI → Storage implementations: configures JSON
main.py - CLI → Console notifier: configures console
main.py - CLI → Task manager: invokes operations
main.py - CLI → Task manager: loads tasks
main.py - Task manager → Task model: creates tasks
manager.py - Task manager → Storage implementations: saves and loads
manager.py - Task manager → Console notifier: sends notices
manager.py - Storage implementations → Task model: serializes tasks
storage.py - CLI → Report generator: builds summary
main.py - CLI → Report generator: passes tasks
main.py