#0058 Command-Line Interface #143
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/hottea!143
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/0058-command-line-interface"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Completes the CLI tool with all planned flags.
Changes:
src/hottea/cli.py— added--dry-runand--verboseflags, refactored logictests/test_cli.py— 10 tests covering all flagsUsage:
Flags:
--end-date YYYY-MM-DD— filter commits on/before date--output FILE/-o— write SQL to file (default: stdout)--dry-run— preview without API calls or writes--verbose/-v— DEBUG-level loggingCloses: #0058, #0053, #0054, #0055, #0056, #0057
Audit Review — PR #143
Clean CLI completion. Dry-run mode correctly short-circuits API calls and file writes with informative log messages. Verbose mode sets DEBUG logging. All 6 issues (#0053-#0058) addressed. Parser tests cover individual and combined flags.
Note: dry-run uses
forgejo_user_id=0andrepo_id=0placeholders. When validation (#0049/#0051) is integrated later, these will need to either use valid placeholder values or skip validation in dry-run mode. Not a blocking issue — just a heads-up for future work.No suggestions — clean PR.
Summary
Result: COMMENT — no issues found.
APPROVED. CLI complete with all planned flags. Merge when ready.