#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

#66 in Command-line interface

Download history 710266/week @ 2024-10-24 636981/week @ 2024-10-31 669346/week @ 2024-11-07 688305/week @ 2024-11-14 600420/week @ 2024-11-21 534526/week @ 2024-11-28 659072/week @ 2024-12-05 668676/week @ 2024-12-12 392939/week @ 2024-12-19 256014/week @ 2024-12-26 570328/week @ 2025-01-02 762759/week @ 2025-01-09 676422/week @ 2025-01-16 718429/week @ 2025-01-23 736623/week @ 2025-01-30 851409/week @ 2025-02-06

3,134,443 downloads per month
Used in 13,508 crates (589 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