#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

#84 in Command-line interface

Download history 546815/week @ 2024-09-17 629168/week @ 2024-09-24 646149/week @ 2024-10-01 653377/week @ 2024-10-08 686367/week @ 2024-10-15 706255/week @ 2024-10-22 659970/week @ 2024-10-29 675408/week @ 2024-11-05 679660/week @ 2024-11-12 636174/week @ 2024-11-19 509881/week @ 2024-11-26 633929/week @ 2024-12-03 689330/week @ 2024-12-10 578133/week @ 2024-12-17 249204/week @ 2024-12-24 289978/week @ 2024-12-31

1,937,651 downloads per month
Used in 2,605 crates (37 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