package cmd import ( "fmt" "github.com/spf13/cobra" ) var updateCmd = &cobra.Command{ Use: "update", Short: "更新项目", Long: `Update the current project`, Run: func(cmd *cobra.Command, args []string) { fmt.Println("还没做") }, }