refactor to decouple commands form entrypoint for reusability and centralizing commands.

Increase reusability and composition
This commit is contained in:
Robin Olsen
2026-02-22 19:46:55 +01:00
parent 118e67dbf4
commit 33c8c05ae3
28 changed files with 305 additions and 282 deletions

View File

@@ -8,11 +8,18 @@ import (
"github.com/steveyegge/beads"
)
// ValidationFeedback holds task validation status
type ValidationFeedback struct {
Success bool
Message string
}
type App struct {
Config Config
Issues IssueService
Stats StatsService
Logger *slog.Logger
Config Config
Issues IssueService
Stats StatsService
Logger *slog.Logger
CurrentFeedback *ValidationFeedback
}
type IssueService interface {