github.com/zaquestion/lab@v0.25.1/cmd/milestone.go (about) 1 package cmd 2 3 import ( 4 "github.com/spf13/cobra" 5 ) 6 7 var milestoneCmd = &cobra.Command{ 8 Use: "milestone", 9 Short: "List and search milestones", 10 PersistentPreRun: labPersistentPreRun, 11 Run: func(cmd *cobra.Command, args []string) { 12 cmd.Help() 13 }, 14 } 15 16 func init() { 17 RootCmd.AddCommand(milestoneCmd) 18 }