#tree #dag #cli

termtree

Visualize tree-like data on the command-line

10 releases

new 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

#34 in Command-line interface

Download history 550516/week @ 2024-04-04 557102/week @ 2024-04-11 571057/week @ 2024-04-18 535999/week @ 2024-04-25 535569/week @ 2024-05-02 530443/week @ 2024-05-09 564013/week @ 2024-05-16 542845/week @ 2024-05-23 600028/week @ 2024-05-30 564168/week @ 2024-06-06 576368/week @ 2024-06-13 553675/week @ 2024-06-20 579342/week @ 2024-06-27 510031/week @ 2024-07-04 580892/week @ 2024-07-11 466670/week @ 2024-07-18

2,244,115 downloads per month
Used in 2,265 crates (28 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