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

    Function builtin_tree

    • Displays a directory tree of the ChRIS filesystem. Uses chili's scan_do machinery for recursive filesystem traversal.

      Parameters

      • args: string[]

        Command line arguments (optional path and 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;
              };
          },
      >

      A Promise that resolves when the tree is displayed.

      tree                    # Tree of current directory
      tree /home/user/data # Tree of specific path
      tree --follow # Follow symbolic links