#command-line #dag #tree

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

#60 in Command-line interface

Download history 735656/week @ 2025-01-08 691596/week @ 2025-01-15 711078/week @ 2025-01-22 720805/week @ 2025-01-29 827568/week @ 2025-02-05 824690/week @ 2025-02-12 890908/week @ 2025-02-19 930157/week @ 2025-02-26 971598/week @ 2025-03-05 986231/week @ 2025-03-12 925114/week @ 2025-03-19 921407/week @ 2025-03-26 899777/week @ 2025-04-02 908355/week @ 2025-04-09 865250/week @ 2025-04-16 756870/week @ 2025-04-23

3,605,277 downloads per month
Used in 2,994 crates (42 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