--max-depth / -d¶
Info
- The
--max-depthflag limits how deep the tree will traverse into directories. - This is useful for large projects where you want a high-level overview without listing every nested file.
Usage¶
Example¶
Example
Tips¶
Tip
- Combine with
--countor--sizefor a summarized view of folders at each depth. - Combine with
--format mdto generate Markdown documentation for only the top levels of a project. - Useful for quick project overviews, documentation snapshots, or CI-friendly output.