Is your feature request related to a problem? Please describe
My team is developing a commandline application which needs to obtain a list of packages contained within a bundle by using the API from within the uds-cli. Adding a GetPackagesInBundle() method to the bundle API would suffice for this purpose, as well as a GetBundleMetadata() method
Describe the solution you'd like
- A method to expose the list of packages contained within a bundle once it is loaded is added to the Bundle struct, similar to below
// GetPackagesInBundle returns the packages contained within the bundle
func (b *Bundle) GetPackagesInBundle() []types.Package {
return b.bundle.Packages
}
Describe alternatives you've considered
(optional) A clear and concise description of any alternative solutions or features you've considered.
Is your feature request related to a problem? Please describe
My team is developing a commandline application which needs to obtain a list of packages contained within a bundle by using the API from within the uds-cli. Adding a GetPackagesInBundle() method to the bundle API would suffice for this purpose, as well as a GetBundleMetadata() method
Describe the solution you'd like
Describe alternatives you've considered
(optional) A clear and concise description of any alternative solutions or features you've considered.