go-zero/tools/goctl/upgrade/cmd.go

11 lines
193 B
Go
Raw Normal View History

package upgrade
import "github.com/spf13/cobra"
// Cmd describes a upgrade command.
var Cmd = &cobra.Command{
Use: "upgrade",
Short: "Upgrade goctl to latest version",
RunE: upgrade,
}