Skip to content

Commit 45f5668

Browse files
committed
before-build command codeclimate#59
1 parent d18b3af commit 45f5668

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

cmd/before-build.go

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package cmd
2+
3+
import (
4+
"github.com/spf13/cobra"
5+
)
6+
7+
var beforeBuildCmd = &cobra.Command{
8+
Use: "before-build",
9+
Short: "To be run before a build",
10+
RunE: func(cmd *cobra.Command, args []string) error {
11+
return nil
12+
},
13+
}
14+
15+
func init() {
16+
RootCmd.AddCommand(beforeBuildCmd)
17+
}

0 commit comments

Comments
 (0)