rusty-roots 1.0.0

A Rust CLI tool that replicates the Unix 'tree' command with enhanced features.
Documentation
rusty-roots-1.0.0 has been yanked.

rusty-roots

  • CLI tool that displays directory structure of a specified path in tree-like format, similar to the tree Unix command.
  • Allows customized output by ignoring certain files and directories (see .rrignore file!).
  • Supports colorized output (file-type-based coloring, tree depth gradients, etc.).

Pics

Demo

Here is a short example video showing rusty-roots in action:

https://github.com/user-attachments/assets/9689ad2f-937b-4b58-a9a9-217c85ccd2e3

Installation

Prerequisites

  1. Ensure Rust is installed. You can install it with:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Steps

  1. Install rusty-roots:
cargo install rusty-roots
  1. Run rusty-roots in some directory (with or without extra args, as specified below):
rusty-roots

Options

Usage: rusty-roots [OPTIONS]

Options:
  -p, --path <PATH>     Path to get tree from
  -i, --ignore          Ignore files and directories as specified in {$path}/.rrignore
      --no-color        Do not stylize tree text output
  -h, --help            Print help
  -V, --version         Print version