mirror of
https://github.com/maaslalani/confetty.git
synced 2024-11-21 15:16:39 +00:00
s/confetty/confetti
This commit is contained in:
parent
7a252dff8d
commit
5b7a3f2027
@ -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()
|
||||
},
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package confetty
|
||||
package confetti
|
||||
|
||||
import (
|
||||
"fmt"
|
Loading…
Reference in New Issue
Block a user