| Crates.io | rust-rtree |
| lib.rs | rust-rtree |
| version | 0.9.6 |
| created_at | 2024-11-11 18:53:01.115317+00 |
| updated_at | 2024-11-11 19:09:09.124198+00 |
| description | A simplified version of the tree tool written in rust. |
| homepage | |
| repository | https://github.com/xjimlinx/rtree |
| max_upload_size | |
| id | 1444093 |
| size | 22,051 |
一个用Rust编写的tree工具的简易版本
使用方法:
Usage: rtree [OPTION] [DIRECTORY]
rtree [DIRECTORY] [OPTION]
Options:
-h, --help Print this help message
[DIRECTORY] The directory to list (default: current directory)
--depth DEPTH, -L DEPTH Set the maximum depth of the tree (default: 0)
--all, -a Show hidden files and directories
-d, --directory List directories only
--fileonly List files only
-V, --version Print the version of rtree
编译:
make build
注意MODE=debug可作为调试,但是占用空间较大
请使用MODE=release用于安装
测试(测试用例现在还没写):
make test
# TODO:
安装(将安装到 /usr/local/bin 目录下):
make install MODE=release