Skip to content

juneb125/sapling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sapling 🌱

Mini-tree CLI program, written in Rust

Table of Contents

Goals

  • put it on ...
    • cargo crates
    • nixpkgs
    • homebrew

Tree-like 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 tree-like TUI (see above)

About

Mini-tree CLI program

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages