treels

Crates.iotreels
lib.rstreels
version0.1.2
sourcesrc
created_at2024-12-12 19:50:36.152073
updated_at2024-12-13 00:49:08.760269
descriptionDisplay your files in a recursive manner
homepage
repositoryhttps://github.com/PiaCOS/treels
max_upload_size
id1481570
size13,305
(PiaCOS)

documentation

README

TREELS

Treels is a recursive version of the famous ls command.

tree + ls = treels

Command

Display your files in a recursive manner

Usage: treels [OPTIONS]

Options:
  -d, --depth <DEPTH>  Depth of the tree [default: 2]
  -p, --path <PATH>    Path to grow your tree [default: .]
  -i, --include-dots   Include dotfiles in the display
  -h, --help           Print help
  -V, --version        Print version

Examples

Get all files in the current folder (without dotfiles) and with a depth of 1:

treels -d 1

Get all files in the parent folder (with dotfiles) with the default depth of 2:

treels -i -p ../ 

Installation

You can install treels in a few different ways:

Using Cargo (Recommended)

If you have Rust installed, you can easily install treels via Cargo:

cargo install treels

Building from source

If you prefer, you can clone this repository and build treels manually:

git clone https://github.com/your-repo/treels.git
cd treels
cargo build --release
cp target/release/treels /usr/local/bin/treels

License

This project is licensed under the MIT License.

Commit count: 16

cargo fmt