@shopify/cli-kit
    Preparing search index...

    Function packageManagerBinaryCommandForDirectory

    • Builds the command and argv needed to execute a local binary using the package manager detected from the provided directory or its ancestors.

      Parameters

      • fromDirectory: string
      • binary: string
      • ...binaryArgs: string[]

      Returns Promise<{ args: string[]; command: string }>