Artt stands for "Another Rust Tree Tool". It's a command-line utility to show a directory tree. Yes, I know, there's a million tools to do this already, but my favorite tool is tree included with many linux distributions. But I primarily work on Windows and there's not many great tools that mimic the behavior of the linux tree command.
So this tool is being built as a (mostly) drop-in replacement for tree but on Windows. It's being built with Rust, using Clap for command-line argument parsing. Artt will include many of the same features as tree, but some features will not be supported, and there will be a couple features in artt that are not in tree. See the compatibility table/roadmap below.
(WIP)
-
Clone the repository
git clone https://github.com/tmorgan497/artt.git
-
Install Rust
-
Build artt
cd artt cargo build --release
-
Run artt
cd artt ./target/release/artt ./ --help
-
(Optional) Set an alias or add artt to your path (platform-specific)
-
(Optional) Install a Nerd Font so artt can display icons for directories and files
- Note: In the future, pre-built binaries will be available for most platforms.
(WIP)
- Run
artt --help
to see the full list of options.
Feature | Tree | Artt | Tree Option | Artt Option |
---|---|---|---|---|
Color Output | ✔ | ✔ | -C | -C |
Hidden Files/All | ✔ | ✔ | -a | |
Directories Only | ✔ | Future | -d | |
No Report | ✔ | Future | --noreport | |
Icons (Nerd Fonts) | ✖ | ✔ | -b | |
Depth/Level | ✔ | ✔ | -L | -L |
Ignore | ✔ | ✔+ (supports list of patterns) | -I | -I |
Symlinks | ✔ | Future | -l | - |
Sort | ✔ | Future | (multiple) | |
Full Path | ✔ | Future | -f | |
Pattern Matching | ✔ | Future | -p | |
File output | ✔ | Future | -o | |
Stats | ✔ | Future | multiple | |
Auto-ignore .gitignore files | ✖ | Future |