master
1package cmd
2
3import (
4 "github.com/kahnwong/swissknife/internal/shouldideploytoday"
5 "github.com/spf13/cobra"
6)
7
8var ShouldIDeployTodayCmd = &cobra.Command{
9 Use: "shouldideploytoday",
10 Short: "Should I deploy today?",
11 RunE: func(cmd *cobra.Command, args []string) error {
12 return shouldideploytoday.ShouldIDeployToday()
13 },
14}
15
16func init() {
17 rootCmd.AddCommand(ShouldIDeployTodayCmd)
18}