25 lines
355 B
Go
25 lines
355 B
Go
/*
|
|
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)
|
|
}
|