Commit 32f63f3
committed
refactor: merge Proposal 4 into Proposal 3 in presentation commands cleanup plan
- Merged 'Extract User Output Helper' into 'Extract Shared Command Dependencies'
- Added UserOutput to CommandContext alongside repository and clock
- Kept report_error() utility function for consistent error formatting
- Reduced total proposals from 12 to 11
- Renumbered all subsequent proposals (5→4, 6→5, etc.)
- Updated all cross-references and dependencies
- Updated progress tracking and sprint plan
- Added entry to active refactorings list
Rationale: Including UserOutput in CommandContext eliminates the need for
a separate create_default() wrapper function while keeping the valuable
report_error() utility. All commands now get a consistent UserOutput
instance from the context, reducing duplication and ensuring consistency.1 parent 9b5d6a8 commit 32f63f3
File tree
3 files changed
+2022
-3
lines changed- docs/refactors
- plans
3 files changed
+2022
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments