ent-tree

Crates.ioent-tree
lib.rsent-tree
version0.1.2
created_at2025-07-26 02:39:25.522634+00
updated_at2025-07-31 21:55:36.848992+00
descriptiontree but better
homepagehttps://github.com/konni332/ent
repositoryhttps://github.com/konni332/ent
max_upload_size
id1768665
size39,377
(konni332)

documentation

https://docs.rs/ent

README

ent

License: MIT OR Apache-2.0

Like tree but better

ent is a cross-platform, lightweight and efficient CLI tool to visualize directory trees.
It supports recursive traversal of file systems and flexible export formats.


Features

  • Build directory trees recursively with customizable depth and filtering options
  • Support for files and directories, including hidden and ignored files
  • Export trees to JSON and other formats
  • Designed for performance and simplicity

Installation

cargo install ent-tree

Usage

ent [OPTIONS] [PATH]

Options

  • -d, --depth Maximum depth to search

  • -a, --all Show all files and directories

  • -D, --dirs-only Show only directories

  • -F, --files-only Show only files

  • -i, --ignored Include ignored files

  • -H, --hidden Show hidden files and directories

  • -e, --export Export tree as a file (currently supports json)

  • path Directory path to search (defaults to current directory)

Example

Build and display the tree for the current directory:

ent

Build the tree for /home/user/projects with max depth 3 and export as JSON:

ent /home/user/projects --depth 3 --export json

Show only directories, including hidden ones:

ent --dirs-only --hidden

License

MIT License


Commit count: 0

cargo fmt