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 --release
Basic 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.