gouick/cmd/test.go

24 lines
355 B
Go
Raw Normal View History

/*
Copyright © 2022 Matthieu Derasse <git@derasse.fr>
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// testCmd represents the test command.
var testCmd = &cobra.Command{
Use: "test",
Short: "Launch Test",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("test called")
},
}
func init() {
rootCmd.AddCommand(testCmd)
}