require "tallboy" def link_generate(link) return "[Follow link](#{link})" end table = Tallboy.table do header ["Binary name", "Software Name", "Home Link", "Language"] row ["ec", "editorconfig-checker", link_generate("https://github.com/editorconfig-checker/editorconfig-checker"), "Go"] row ["git-ahead-check", "A tool for checking changes that have not been sent in Git repos", link_generate("https://git.a2s.su/iiiypuk/git-ahead-check"), "Crystal"] row ["hugo", "The world’s fastest framework for building websites", link_generate("https://gohugo.io/"), "Go"] row ["magick", "ImageMagick", link_generate("https://imagemagick.org/script/index.php"), "C"] row ["minify-html", "Extremely fast and smart HTML + JS + CSS minifier", link_generate("https://github.com/wilsonzlin/minify-html/"), "Rust"] row ["pfetch", "penguin A pretty system information tool written in POSIX sh", link_generate("https://github.com/dylanaraps/pfetch"), "Shell"] row ["pmng", "The very simple password manager for humans", link_generate("https://git.a2s.su/iiiypuk/pmng"), "Crystal"] end puts "**My binary files in `$HOME/.bin/`**" puts puts table.render(:markdown) puts puts "For generate, use `crystal run generate_table.cr > README.md`"