Mini-tree CLI program, written in Rust
Table of Contents
- put it on ...
- cargo crates
- nixpkgs
- homebrew
Box Drawings
Box-Drawing Characters Wikipedia page
There's a nice table of box drawing characters and their Unicode codes here
'│' // show hierarchy - '\u{2502}'
'─' // child branch - '\u{2500}'
'└' // last child in parent '\u{2514}'
'├' // show sibling hierarchy - '\u{251c}'
Ascii
'|' // show hierarchy - pipe char
'-' // child branch - en-dash char
'L' // last child in parent - capital "ell" char
"|-" // show sibling hierarchy - pipe char + en-dash
- read command line arguments instead of asking for input
- make the formatting work
- add tree-like TUI (see above)