10 releases

0.5.1 Jul 25, 2024
0.5.0 Jul 9, 2024
0.4.1 Mar 15, 2023
0.4.0 Apr 7, 2022
0.2.3 Oct 26, 2021

#60 in Command-line interface

Download history 1235217/week @ 2025-08-11 1138119/week @ 2025-08-18 1088329/week @ 2025-08-25 1075553/week @ 2025-09-01 1196947/week @ 2025-09-08 1152645/week @ 2025-09-15 1204864/week @ 2025-09-22 1203730/week @ 2025-09-29 1285525/week @ 2025-10-06 1198968/week @ 2025-10-13 1242085/week @ 2025-10-20 1351131/week @ 2025-10-27 1363011/week @ 2025-11-03 1309739/week @ 2025-11-10 1485547/week @ 2025-11-17 1030596/week @ 2025-11-24

5,250,594 downloads per month
Used in 4,133 crates (52 directly)

MIT license

19KB
308 lines

termtree Main

Visualize tree-like data on the command-line

API documentation

Example

An example program is provided under the "examples" directory to mimic the tree(1) linux program

$ cargo run --example tree target
    Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `target/debug/examples/tree target`
target
└── debug
    ├── .cargo-lock
    ├── .fingerprint
    |   └── termtree-21a5bdbd42e0b6da
    |       ├── dep-example-tree
    |       ├── dep-lib-termtree
    |       ├── example-tree
    |       ├── example-tree.json
    |       ├── lib-termtree
    |       └── lib-termtree.json
    ├── build
    ├── deps
    |   └── libtermtree.rlib
    ├── examples
    |   ├── tree
    |   └── tree.dSYM
    |       └── Contents
    |           ├── Info.plist
    |           └── Resources
    |               └── DWARF
    |                   └── tree
    ├── libtermtree.rlib
    └── native

License

Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

No runtime deps