Summary
Add the assignment’s subject to the CLI list output (was briefly added, then reverted to let others contribute).
Current Behavior
python main.py list shows only title and deadline.
Expected Behavior
python main.py list should show subject when available, e.g.:
- Math HW 1 [Subject: Algebra] (Due: 2025-01-20)
- Essay Draft [Subject: English] (Due: 2025-01-25)
If no subject is set, show a fallback like No subject.
Proposed Changes
- Update
main.py list command output to include subject.
- Keep behavior backward-compatible; no extra flags required.
Files to Touch
Acceptance Criteria
- Subject shown for assignments that have it.
- Graceful fallback when subject is missing.
- No change to other commands.
- Basic test or manual run example attached.
Summary
Add the assignment’s subject to the CLI
listoutput (was briefly added, then reverted to let others contribute).Current Behavior
python main.py listshows only title and deadline.Expected Behavior
python main.py listshould show subject when available, e.g.:If no subject is set, show a fallback like
No subject.Proposed Changes
main.pylist command output to include subject.Files to Touch
main.py(list display)Acceptance Criteria