This commit is contained in:
2026-04-06 01:23:10 +09:00
commit 09c78206a8
12 changed files with 439 additions and 0 deletions

26
main.go Normal file
View File

@@ -0,0 +1,26 @@
package main
import (
"fmt"
"os"
"filepass/internal/services"
"filepass/internal/tui"
tea "charm.land/bubbletea/v2"
)
func main() {
store, err := services.NewServicesStore()
if err != nil {
fmt.Fprintln(os.Stderr, "failed to initialise config:", err)
os.Exit(1)
}
m := tui.NewTUIInterface(store)
p := tea.NewProgram(m)
if _, err := p.Run(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}