| Crates.io | treels |
| lib.rs | treels |
| version | 0.1.2 |
| created_at | 2024-12-12 19:50:36.152073+00 |
| updated_at | 2024-12-13 00:49:08.760269+00 |
| description | Display your files in a recursive manner |
| homepage | |
| repository | https://github.com/PiaCOS/treels |
| max_upload_size | |
| id | 1481570 |
| size | 13,305 |
Treels is a recursive version of the famous ls command.
tree + ls = treels
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
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 ../
You can install treels in a few different ways:
If you have Rust installed, you can easily install treels via Cargo:
cargo install treels
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
This project is licensed under the MIT License.