#tree #dag #cli

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

#64 in Command-line interface

Download history 640374/week @ 2024-11-17 516346/week @ 2024-11-24 606274/week @ 2024-12-01 697765/week @ 2024-12-08 639639/week @ 2024-12-15 256592/week @ 2024-12-22 342823/week @ 2024-12-29 672846/week @ 2025-01-05 762471/week @ 2025-01-12 655903/week @ 2025-01-19 725174/week @ 2025-01-26 790078/week @ 2025-02-02 875970/week @ 2025-02-09 812437/week @ 2025-02-16 918518/week @ 2025-02-23 910871/week @ 2025-03-02

3,563,612 downloads per month
Used in 2,795 crates (40 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