#dag #tree #command-line

termtree

Visualize tree-like data on the command-line

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

#10 in Visualization

Download history 258649/week @ 2024-12-23 343019/week @ 2024-12-30 680099/week @ 2025-01-06 764195/week @ 2025-01-13 659132/week @ 2025-01-20 715204/week @ 2025-01-27 795927/week @ 2025-02-03 874901/week @ 2025-02-10 820430/week @ 2025-02-17 912532/week @ 2025-02-24 952332/week @ 2025-03-03 997658/week @ 2025-03-10 926294/week @ 2025-03-17 932835/week @ 2025-03-24 908032/week @ 2025-03-31 929771/week @ 2025-04-07

3,736,470 downloads per month
Used in 2,953 crates (42 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