code: func genArchive() ([]string, error) {
  	switch *flagArchiveType {
  	case "linux", "darwin", "windows":
  		genBinaries(*flagArchiveType)
  		return []string{packBinaries(*flagArchiveType)}, nil
  	case "src":
  		return []string{zipSource()}, nil
  	default:
  		return genAll()
  	}
  }
docs: // genArchive generates the requested tarball(s) and zip archive(s), and returns
  // their filenames.