refactor: simplify codebase
This commit is contained in:
@@ -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})
|
||||
}
|
||||
Reference in New Issue
Block a user