#tree #dag #cli

termtree

Visualize tree-like data on the command-line

8 releases

0.4.1 Mar 15, 2023
0.4.0 Apr 7, 2022
0.3.0 Apr 7, 2022
0.2.4 Jan 7, 2022
0.2.3 Oct 26, 2021

#64 in Command-line interface

Download history 413034/week @ 2024-01-03 443387/week @ 2024-01-10 524737/week @ 2024-01-17 516783/week @ 2024-01-24 524712/week @ 2024-01-31 514857/week @ 2024-02-07 515120/week @ 2024-02-14 605201/week @ 2024-02-21 574545/week @ 2024-02-28 549441/week @ 2024-03-06 516554/week @ 2024-03-13 532791/week @ 2024-03-20 515175/week @ 2024-03-27 561497/week @ 2024-04-03 552954/week @ 2024-04-10 461989/week @ 2024-04-17

2,191,284 downloads per month
Used in 2,013 crates (24 directly)

MIT license

12KB
221 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