confetty/main.go

19 lines
262 B
Go
Raw Normal View History

2021-08-07 01:24:56 +00:00
package main
import (
"fmt"
"os"
"github.com/maaslalani/confetty/pkg/confetty"
tea "github.com/charmbracelet/bubbletea"
)
func main() {
p := tea.NewProgram(confetty.InitialModel())
if err := p.Start(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}