The Customization
module is a Ruby gem designed to make your terminal applications more visually appealing and user-friendly. It provides a set of functions for text customization, allowing you to format and style text in your terminal-based projects.
Elevate your CLI (Command-Line Interface) tools, reports, games, and more by easily incorporating custom colors, formats, borders, and dynamic text effects.
-
Text Coloring: Add color to your text with a wide range of predefined colors or custom codes.
-
Text Formatting: Apply text formats such as bold, italic, underline, and more.
-
Text Borders: Create visually striking text borders to separate and highlight sections.
-
Text Alignment: Align text horizontally and vertically within your terminal output.
-
Text Length Calculation: Determine the visible length of text, excluding escape codes.
-
Error Handling: Handle invalid color, format, and border names with dedicated error classes.
-
Text Effects: Add dynamic effects like blinking text, text shadow, and opacity to captivate your audience.
To install the Customization
module, use the following command:
ruby gem install customization