rptree

Crates.iorptree
lib.rsrptree
version0.4.0
sourcesrc
created_at2021-10-25 10:26:30.712192
updated_at2023-04-06 05:53:30.996681
descriptionA command line tool for generating directory tree.
homepage
repositoryhttps://github.com/night-cruise/rptree
max_upload_size
id470902
size17,606
易春风 (night-cruise)

documentation

README

rptree

A command line tool for generating directory tree.

Install

cargo install rptree

Usage

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

Examples

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

Reference

LICENSE

This project is licensed under the MIT License (see the LICENSE file for details).

Commit count: 27

cargo fmt