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

    Function ls_run

    • Lists directories: the shared typed core behind the parsed builtin and the typed API.

      Parameters

      • runOptions: LsOptions

        Target paths, sorting, and presentation flags.

      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 carries the listing and whose fs.listing model carries the entries per target.