reflector.go/cmd/test.go

20 lines
293 B
Go
Raw Normal View History

2018-08-31 19:50:22 -04:00
package cmd
import (
2018-09-11 07:41:29 -04:00
log "github.com/sirupsen/logrus"
2018-08-31 19:50:22 -04: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 11:24:36 -04:00
log.Println("test :-)")
2018-08-31 19:50:22 -04:00
}