jsrn / fancy_terminal_text

Fancy terminal text for your Ruby console applications.

Home Page:https://jsrn.net/fancy_terminal_text/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fancy Terminal Text

Fancy text for your Ruby based console applications. Leans on ANSI escape codes under the hood to format, colour, align and decorate text in your command line applications.

Features

  • Text formatting
    • Bold
    • Italic
    • Underline
  • Colours
    • Assorted colours from the colorize gem.
    • Rainbow!
  • Text alignment
    • Centre
    • Left & right pad
  • Borders
    • Wrap text in padding/borders

Try It

git clone https://github.com/jsrn/fancy_terminal_text.git &&
   cd fancy_terminal_text &&
   ruby demo.rb

About

Fancy terminal text for your Ruby console applications.

https://jsrn.net/fancy_terminal_text/

License:MIT License


Languages

Language:Ruby 100.0%