Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
examples/ | 25-Apr-2025 | - | 33 | 28 | ||
src/ | 25-Apr-2025 | - | 260 | 221 | ||
.cargo-checksum.json | D | 25-Apr-2025 | 652 | 1 | 1 | |
Android.bp | D | 25-Apr-2025 | 1.1 KiB | 46 | 41 | |
Cargo.lock | D | 25-Apr-2025 | 152 | 8 | 6 | |
Cargo.toml | D | 25-Apr-2025 | 1.8 KiB | 73 | 66 | |
LICENSE | D | 25-Apr-2025 | 1 KiB | 21 | 17 | |
METADATA | D | 25-Apr-2025 | 384 | 18 | 17 | |
MODULE_LICENSE_MIT | D | 25-Apr-2025 | 0 | |||
README.md | D | 25-Apr-2025 | 1.6 KiB | 52 | 42 | |
TEST_MAPPING | D | 25-Apr-2025 | 76 | 8 | 7 | |
cargo_embargo.json | D | 25-Apr-2025 | 46 | 5 | 4 |
README.md
1# termtree [](https://github.com/rust-cli/termtree/actions/workflows/main.yml) 2 3> Visualize tree-like data on the command-line 4 5[API documentation](https://docs.rs/termtree) 6 7## Example 8 9An example program is provided under the "examples" directory to mimic the `tree(1)` 10linux program 11 12```bash 13$ cargo run --example tree target 14 Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs 15 Running `target/debug/examples/tree target` 16target 17└── debug 18 ├── .cargo-lock 19 ├── .fingerprint 20 | └── termtree-21a5bdbd42e0b6da 21 | ├── dep-example-tree 22 | ├── dep-lib-termtree 23 | ├── example-tree 24 | ├── example-tree.json 25 | ├── lib-termtree 26 | └── lib-termtree.json 27 ├── build 28 ├── deps 29 | └── libtermtree.rlib 30 ├── examples 31 | ├── tree 32 | └── tree.dSYM 33 | └── Contents 34 | ├── Info.plist 35 | └── Resources 36 | └── DWARF 37 | └── tree 38 ├── libtermtree.rlib 39 └── native 40``` 41 42## Related Crates 43 44- [`treeline`](https://crates.io/crates/treeline): termtree was forked from this. 45- [`tree_decorator`](https://crates.io/crates/tree_decorator) 46- [`xtree`](https://crates.io/crates/xtree) 47- [`ptree`](https://crates.io/crates/ptree) 48 49## License 50 51Licensed under MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) 52