s/confetty/confetti

This commit is contained in:
Maas Lalani 2021-08-07 19:57:00 -04:00
parent 7a252dff8d
commit 5b7a3f2027
No known key found for this signature in database
GPG Key ID: F53774FA051C052A
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"github.com/maaslalani/confetty/confetty"
"github.com/maaslalani/confetty/confetti"
"github.com/maaslalani/confetty/fireworks"
tea "github.com/charmbracelet/bubbletea"
@ -16,7 +16,7 @@ var rootCmd = &cobra.Command{
Short: "Confetti in your TTY",
Long: `Confetty gives your confetti and fireworks in your terminal`,
RunE: func(cmd *cobra.Command, args []string) error {
p := tea.NewProgram(confetty.InitialModel(), tea.WithAltScreen())
p := tea.NewProgram(confetti.InitialModel(), tea.WithAltScreen())
return p.Start()
},
}
@ -26,7 +26,7 @@ var confettiCmd = &cobra.Command{
Aliases: []string{"confetty"},
Short: "Confetti in your TTY",
RunE: func(cmd *cobra.Command, args []string) error {
p := tea.NewProgram(confetty.InitialModel(), tea.WithAltScreen())
p := tea.NewProgram(confetti.InitialModel(), tea.WithAltScreen())
return p.Start()
},
}

View File

@ -1,4 +1,4 @@
package confetty
package confetti
import (
"fmt"