func upgradeCmdRun(c *cobra.Command, args []string) { err := upgrade.Upgrade(version) if err != nil { log.Fatalf("error: %s", err) } }
// Run command. func run(c *cobra.Command, args []string) error { return upgrade.Upgrade(version.Version) }
// Run command. func run(c *cobra.Command, args []string) error { stats.Track("Upgrade", nil) return upgrade.Upgrade(version.Version) }