mirror of
https://github.com/maaslalani/confetty.git
synced 2024-11-14 19:56:43 +00:00
19 lines
262 B
Go
19 lines
262 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())
|
||
|
if err := p.Start(); err != nil {
|
||
|
fmt.Println(err)
|
||
|
os.Exit(1)
|
||
|
}
|
||
|
}
|