installation property

CliInstallation get installation

The installation the running CLI belongs to.

Implementation

CliInstallation get installation => resolveCliInstallation(
  resolvedExecutable: Platform.resolvedExecutable,
  scriptPath: Platform.script.toFilePath(),
);