termtree

Crates.iotermtree
lib.rstermtree
version0.5.1
sourcesrc
created_at2021-10-07 18:21:36.306218
updated_at2024-07-25 14:42:40.978498
descriptionVisualize tree-like data on the command-line
homepagehttps://github.com/rust-cli/termtree
repositoryhttps://github.com/rust-cli/termtree
max_upload_size
id461899
size28,520
Maintainers (github:rust-cli:maintainers)

documentation

https://docs.rs/termtree

README

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

Related Crates

License

Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

Commit count: 215

cargo fmt