#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

#81 in Command-line interface

Download history 591205/week @ 2024-07-20 564946/week @ 2024-07-27 567904/week @ 2024-08-03 593666/week @ 2024-08-10 625518/week @ 2024-08-17 622031/week @ 2024-08-24 580409/week @ 2024-08-31 620067/week @ 2024-09-07 543710/week @ 2024-09-14 621726/week @ 2024-09-21 630351/week @ 2024-09-28 670470/week @ 2024-10-05 661195/week @ 2024-10-12 709374/week @ 2024-10-19 670245/week @ 2024-10-26 559340/week @ 2024-11-02

2,707,198 downloads per month
Used in 2,484 crates (33 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