Commit hoarding is a problem

This commit is contained in:
2022-04-27 10:14:36 +02:00
parent 6ff89f913d
commit 85c3cdf57f
10 changed files with 225 additions and 124 deletions

View File

@@ -13,8 +13,9 @@ func main() {
log.Fatal("Expected a path to some music")
}
p := tea.NewProgram(gomus.NewModel(gomus.ModelArgs{
p := tea.NewProgram(gomus.NewModel(gomus.ModelConfig{
MusicPath: os.Args[1],
GomusPath: ".gomus",
}))
if err := p.Start(); err != nil {