An updated version of the original groot-tree crate by RodrigoRVSN.
- π¨ Color-coding for files and directories
- π Glob pattern support
- π Customizable depth levels
- π Directory-only view option
- π³ Clean and minimal tree structure
Via cargo:
cargo install regroot
Or build from source:
git clone https://github.com/z1xus/regroot
cd regroot
cargo build --releaseBasic usage:
regroot . tree . # alias
Common options:
# Show only 2 levels deep regroot -d 2 . # Use glob patterns for path regroot "src/{bin,lib}/*" # Ignore paths using glob patterns regroot -i "*.pyc,tests/*" . # Show only directories regroot --dirs-only .
This project is licensed under the MIT License - see the LICENSE file for details.