Crates.io | print-flat-tree |
lib.rs | print-flat-tree |
version | 1.1.3 |
source | src |
created_at | 2018-02-23 15:39:11.751507 |
updated_at | 2018-07-25 13:32:04.789127 |
description | Convert a flat-tree to a string. |
homepage | |
repository | https://github.com/datrs/print-flat-tree |
max_upload_size | |
id | 52533 |
size | 29,694 |
Converts a flat-tree to a string. Adapted from mafintosh/print-flat-tree.
$ cargo add print-flat-tree
print-flat-tree
Converts a flat-tree to a string
USAGE:
print-flat-tree [tree]...
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<tree>... For example '0 1 2 3 7 8 9 10'
print-flat-tree 0 1 2 3 7 8 9 10 11 12 13 14
0──┐
1──┐
2──┘ │
3──┐
│
│
│
7
8──┐ │
9──┐ │
10──┘ │ │
11──┘
12──┐ │
13──┘
14──┘
MIT OR Apache-2.0