Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/novara754/tree-rs
A program to recursively list the contents of a folder in a tree-like manner.
https://github.com/novara754/tree-rs
Last synced: 30 days ago
JSON representation
A program to recursively list the contents of a folder in a tree-like manner.
- Host: GitHub
- URL: https://github.com/novara754/tree-rs
- Owner: novara754
- License: mit
- Created: 2020-02-05T00:16:09.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-05T00:21:48.000Z (almost 5 years ago)
- Last Synced: 2024-10-14T22:14:26.966Z (2 months ago)
- Language: Rust
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# tree
A program to recursively list the contents of a folder in a tree-like manner.
## Building
**Requirements:** A working installing of [Rust](https://rust-lang.org/).
To build the project, simply run `cargo build --release` in this directory. Afterwards
the executable can be found under `./target/release/tree(.exe)`.## Running
You can information about the command line options using the `-h` option:
```
$ tree -h
tree 0.1.0
A program to recursively list the contents of a folder in a tree-like manner.USAGE:
tree.exe [OPTIONS]FLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-d, --max-depth Maximum depth to recurse to. 0 means no recursionARGS:
The directory from which to start traversing
```Example call:
```
$ tree ./test -d=1
./test
|---a
| |---x
| `---y
|---b
| |---q
| |---t
| `---y
`---c
|---p
|---q
|---r
`---s
```## License
Licensed under the [MIT License](LICENSE.md).