Crates.io | rptree |
lib.rs | rptree |
version | 0.4.0 |
source | src |
created_at | 2021-10-25 10:26:30.712192 |
updated_at | 2023-04-06 05:53:30.996681 |
description | A command line tool for generating directory tree. |
homepage | |
repository | https://github.com/night-cruise/rptree |
max_upload_size | |
id | 470902 |
size | 17,606 |
A command line tool for generating directory tree.
cargo install rptree
Enter rptree - h
on the command line to view the detailed usage commands:
Rp Tree 0.3.0
An useful tool for generating directory tree
USAGE:
rptree.exe [FLAGS] [OPTIONS] <ROOT_DIR>
FLAGS:
-d, --dir-only Only output dir
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-c, --color <color> Prints color, only supports green, blue and red
-f, --filter <filter>... Exclude specific directories and their children from the tree
-o, --output <output> Prints to file
ARGS:
<ROOT_DIR> Root dir for generate directory tree
rptree . --color red --filter target .git
In this example, the 'target' directory and the '.git' directory, and all of their children, will be excluded from the tree which will be built from the current directory
This project is licensed under the MIT License (see the LICENSE file for details).