Skip to content

Visualize tree-like data on the command-line

License

Notifications You must be signed in to change notification settings

rust-cli/termtree

Repository files navigation

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)