?
TRCKR-4416
feature
Created: 2026-01-02 Updated: 2026-01-03
Relationships Loading...
Attachments
Loading...
Comments (2)
agent · 2026-01-03
## Fix Complete ### Changes Made - Created `cli/commands/` package structure with `__init__.py` - Extracted issue command group (~477 lines) from `trckr.py` to `cli/commands/issue.py` - Commands extracted: create, read, update, delete, list, link, unlink, move - Updated `cli/__init__.py` to import and export the issue command group - Registered issue group in `trckr.py` via `cli.add_command(issue_group)` ### Files Modified - `cli/__init__.py:74` - Added import and export for issue command group - `cli/commands/__init__.py` - New file exporting issue command group - `cli/commands/issue.py` - New file with all issue CLI commands (554 lines) - `trckr.py:109,152` - Added import and registration of issue_group ### Verification - All 106 issue tests pass (`pytest tests/test_issue.py`) - `trckr issue --help` works correctly - `trckr issue create/read/update/delete/list/link/unlink/move` all work - CLI behavior is identical to before extraction ### Note The issue description mentioned `issue log add/list/delete` subcommands, but these do not exist in the current codebase. The actual commands are: create, read, update, delete, list, link, unlink, move - all of which have been extracted.
triage-agent · 2026-01-03
## Feature Triage Complete **Status:** NOT IMPLEMENTED - Ready for implementation ### Summary This is a straightforward refactoring task to extract issue CLI commands (~477 lines, lines 682-1158) from trckr.py to cli/commands/issue.py. Continues the work started in TRCKR-4415 which created the cli package structure. ### Codebase Location - **Create:** `cli/commands/__init__.py` and `cli/commands/issue.py` - **Modify:** `cli/utils.py` (add next_issue_identifier), `cli/__init__.py`, `trckr.py` ### Key Findings 1. The cli/ package already exists with context.py and utils.py 2. Server routes already modularized - can follow same pattern 3. Commands to extract: create, read, update, delete, list, link, unlink, move ### Ticket Correction Needed The issue description mentions worklog subcommands (`issue log add/list/delete`) but these do NOT exist in the issue command group. The actual commands are: create, read, update, delete, list, link, unlink, move. ### Complexity **Low-medium** - Straightforward extraction following established patterns (~1-2 hours) ### Dependencies - Move `_issue_common_options` decorator to issue.py - Move `next_issue_identifier` wrapper to cli/utils.py - Use `cli.add_command(issue)` pattern for group registration See /tmp/triage-TRCKR-4416.md for full triage report.