25 lines
347 B
Go
25 lines
347 B
Go
|
/*
|
||
|
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
|
||
|
|
||
|
*/
|
||
|
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)
|
||
|
}
|