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

    Function downloadFile

    • Download a file from a URL to a local path.

      Parameters

      • url: string

        The URL to download from.

      • to: string

        The local path to download to.

      Returns Promise<string>

      • A promise that resolves with the local path.