|
|
@ -59,6 +59,15 @@ func main() { |
|
|
|
}, |
|
|
|
} |
|
|
|
|
|
|
|
hf := &cobra.Command{ |
|
|
|
Use: "hf", |
|
|
|
Short: "high five!", |
|
|
|
Run: func(cmd *cobra.Command, args []string) { |
|
|
|
t := yay.NewViewPort(yay.NewHighFive(), time.Duration(frameRate)*time.Millisecond) |
|
|
|
t.Run() |
|
|
|
}, |
|
|
|
} |
|
|
|
|
|
|
|
version := &cobra.Command{ |
|
|
|
Use: "version", |
|
|
|
Short: "prints the version to stdout", |
|
|
@ -71,5 +80,6 @@ func main() { |
|
|
|
main.AddCommand(claps) |
|
|
|
main.AddCommand(apple) |
|
|
|
main.AddCommand(version) |
|
|
|
main.AddCommand(hf) |
|
|
|
main.Execute() |
|
|
|
} |