@hashgraph/solo
    Preparing search index...

    Base class for dependency managers that download and manage CLI tools Common functionality for downloading, checking versions, and managing executables

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    artifactName: string
    checksumURL: string
    downloadBaseUrl: string
    downloader: PackageDownloader
    downloadURL: string
    executableName: string
    globalExecutablePath: string = ''
    installationDirectory: string
    localExecutablePath: string
    logger?: SoloLogger
    osArch: string
    osPlatform: string
    requiredVersion: string

    Methods

    • Handle any post-download processing before copying to destination Child classes can override this for custom extraction or processing

      Parameters

      • packageFilePath: string
      • temporaryDirectory: string

      Returns Promise<string>

    • Returns a promise that invokes the shell command

      Parameters

      • cmd: string
      • arguments_: string[] = []
      • verbose: boolean = false
      • detached: boolean = false

      Returns Promise<string[]>