gouick/cmd/test.go

25 lines
356 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)
}