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

    Function cp_run

    • Copies files or directories: the shared typed core behind the parsed builtin and the typed API.

      Parameters

      • options: CpOptions

        Sources, destination, and the recursive flag.

      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 whose rendered text reports results and whose fs.cp model carries per-source outcomes.