Class: WritersRoom::HelpFormatter
- Inherits:
-
Object
- Object
- WritersRoom::HelpFormatter
- Defined in:
- lib/writers_room/help_formatter.rb
Overview
Formats comprehensive help output for the CLI
Constant Summary collapse
- COLORS =
{ header: "\e[1;36m", # Cyan bold command: "\e[1;32m", # Green bold option: "\e[1;33m", # Yellow bold description: "\e[0;37m", # White section: "\e[1;35m", # Magenta bold reset: "\e[0m" }.freeze
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.print_comprehensive_help ⇒ Object
15 16 17 |
# File 'lib/writers_room/help_formatter.rb', line 15 def self.print_comprehensive_help new.print_comprehensive_help end |
Instance Method Details
#print_comprehensive_help ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/writers_room/help_formatter.rb', line 19 def print_comprehensive_help print_header print_usage print_commands print_examples end |