mise API - v0.0.0
    Preparing search index...

    Function builtin_download

    • Downloads a remote ChRIS file or directory to the local filesystem, or hands it to the surface when the engine's disk is not the operator's.

      Parameters

      • args: string[]

        [remotePathOrGlob, localPath] plus optional -f/--force to overwrite.

      Returns Promise<
          {
              errors?: { message: string; type: "error"
              | "warning" }[];
              model?: { data: unknown; kind: string };
              rendered: string;
              renderedErr?: string;
              status: "error" | "ok";
              trace?: {
                  executed?: string;
                  input: string;
                  proposed: string;
                  validated: boolean;
              };
          },
      >

      An envelope carrying the download summary.