confetty/main.go
2021-08-06 23:43:02 -04:00

19 lines
283 B
Go

package main
import (
"fmt"
"os"
"github.com/maaslalani/confetty/pkg/confetty"
tea "github.com/charmbracelet/bubbletea"
)
func main() {
p := tea.NewProgram(confetty.InitialModel(), tea.WithAltScreen())
if err := p.Start(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}