Instance Property (Default implementation)swift-package-manager 6.0.1PackagePlugin
packageManager
A proxy to the Swift Package Manager or IDE hosting the command plugin, through which the plugin can ask for specialized information or actions.
var packageManager: PackageManager { get }