#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

#63 in Command-line interface

Download history 404071/week @ 2023-12-05 403177/week @ 2023-12-12 365564/week @ 2023-12-19 226645/week @ 2023-12-26 396769/week @ 2024-01-02 440243/week @ 2024-01-09 509784/week @ 2024-01-16 516407/week @ 2024-01-23 527245/week @ 2024-01-30 514974/week @ 2024-02-06 502024/week @ 2024-02-13 595031/week @ 2024-02-20 589257/week @ 2024-02-27 548511/week @ 2024-03-05 526122/week @ 2024-03-12 437655/week @ 2024-03-19

2,208,390 downloads per month
Used in 1,947 crates (22 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