#cli #tree #dag

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

#298 in Visualization

Download history 400309/week @ 2023-11-03 410521/week @ 2023-11-10 387380/week @ 2023-11-17 390652/week @ 2023-11-24 403450/week @ 2023-12-01 400925/week @ 2023-12-08 414510/week @ 2023-12-15 249356/week @ 2023-12-22 318987/week @ 2023-12-29 427173/week @ 2024-01-05 469173/week @ 2024-01-12 534963/week @ 2024-01-19 505385/week @ 2024-01-26 525717/week @ 2024-02-02 518879/week @ 2024-02-09 431502/week @ 2024-02-16

2,075,042 downloads per month
Used in 1,979 crates (20 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