func (s *ShowCmd) All(w io.Writer) error {
	if filepath.Ext(s.release) == ".pivotal" {
		pivnetRelease, err := release.LoadPivnetRelease(s.releaseRepo, s.release)
		if err != nil {
			return err
		}
		for _, br := range pivnetRelease.BoshRelease {
			s.printBoshRelease(w, br)
		}
		return nil
	}
	boshRelease, err := release.LoadBoshRelease(s.releaseRepo, s.release)
	if err != nil {
		return err
	}
	s.printBoshRelease(w, boshRelease)
	return nil
}
func (s *ShowCmd) All(w io.Writer) error {
	if filepath.Ext(s.release) == ".pivotal" {
		pivnetRelease, err := release.LoadPivnetRelease(s.releaseRepo, s.release)
		if err != nil {
			return err
		}
		for _, br := range pivnetRelease.BoshRelease {
			s.printBoshRelease(w, br)
		}
		return nil
	}
	boshRelease, err := release.LoadBoshRelease(s.releaseRepo, s.release)
	if err != nil {
		return err
	}
	s.printBoshRelease(w, boshRelease)
	return nil
}
func ( s * ShowCmd ) All ( w io . Writer ) error { if filepath . Ext ( s . release ) == " " { pivnetRelease , err := release . LoadPivnetRelease ( s . releaseRepo , s . release ) if err != nil { return err } for _ , br := range pivnetRelease . BoshRelease { s . printBoshRelease ( w , br ) } return nil } boshRelease , err := release . LoadBoshRelease ( s . releaseRepo , s . release ) if err != nil { return err } s . printBoshRelease ( w , boshRelease ) return nil }
// All writes out all the release data to writer.
All writes out all the release data to writer .