reflector.go/cmd/test.go

20 lines
293 B
Go
Raw Normal View History

2018-09-01 01:50:22 +02:00
package cmd
import (
2018-09-11 13:41:29 +02:00
log "github.com/sirupsen/logrus"
2018-09-01 01:50:22 +02:00
"github.com/spf13/cobra"
)
func init() {
var cmd = &cobra.Command{
Use: "test",
Short: "Test things",
Run: testCmd,
}
rootCmd.AddCommand(cmd)
}
func testCmd(cmd *cobra.Command, args []string) {
2018-09-20 17:24:36 +02:00
log.Println("test :-)")
2018-09-01 01:50:22 +02:00
}