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

    Function builtin_rm

    • Removes one or more files or directories.

      In interactive mode (-i) output is streamed live through the sink so each confirmation prompt appears in sequence with its result; the envelope then carries only the model. Otherwise output is buffered into the envelope.

      Parameters

      • args: string[]

        Command line arguments (flags and paths).

      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 model lists per-target outcomes.