1package cmd23import (4 "github.com/FelineStateMachine/puzzletea/app"5 "github.com/FelineStateMachine/puzzletea/config"6 "github.com/FelineStateMachine/puzzletea/game"7 "github.com/FelineStateMachine/puzzletea/store"89 tea "charm.land/bubbletea/v2"10)1112var runGameProgramFn = runGameProgram1314func runGameProgram(15 s *store.Store,16 cfg *config.Config,17 configPath string,18 g game.Gamer,19 activeGameID int64,20 completionSaved bool,21) error {22 m := app.InitialModelWithGame(s, cfg, configPath, g, activeGameID, completionSaved)23 p := tea.NewProgram(m)24 _, err := p.Run()25 return err26}