refactor: simplify codebase

This commit is contained in:
2026-07-17 22:26:53 +00:00
parent 0ae1b094c5
commit 20209a9b6d
26 changed files with 291 additions and 904 deletions
-18
View File
@@ -1,18 +0,0 @@
// app.go owns process-level application bootstrap before handing control to the TUI.
package app
import (
"context"
"parasocial/internal/config"
"parasocial/internal/tui"
)
// Run loads configuration and starts the terminal UI.
func Run(ctx context.Context) error {
cfg, err := config.LoadDefault()
if err != nil {
return err
}
return tui.Run(ctx, tui.Options{Streamers: cfg.Streamers})
}