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

    Function builtin_cp

    • Copies a file or directory. Supports multiple sources when destination is a directory.

      Parameters

      • args: string[]

        [flags, src1, src2, ..., dest]

      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 progress and results and whose model carries per-source outcomes.