/fancy_terminal_text

Fancy terminal text for your Ruby console applications.

Primary LanguageRubyMIT LicenseMIT

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