Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.13 KB

README.md

File metadata and controls

39 lines (34 loc) · 1.13 KB

Sapling 🌱

Mini-tree CLI program, written in Rust

Table of Contents

Goals

TUI

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

Todo's

  • read command line arguments instead of asking for input
  • make the formatting work
  • add support for POSIX style opts / args
  • add tree-like TUI (see above)