code: func commandVersionCheck() (command.VersionCheckInfo, error) {
  	// Wait for the result to come through
  	info := <-checkpointResult
  	if info == nil {
  		var zero command.VersionCheckInfo
  		return zero, nil
  	}
  
  	// Build the alerts that we may have received about our version
  	alerts := make([]string, len(info.Alerts))
  	for i, a := range info.Alerts {
  		alerts[i] = a.Message
  	}
  
  	return command.VersionCheckInfo{
  		Outdated: info.Outdated,
  		Latest:   info.CurrentVersion,
  		Alerts:   alerts,
  	}, nil
  }
docs: // commandVersionCheck implements command.VersionCheckFunc and is used
  // as the version checker.