Method: Blufin::Terminal.format_command

Defined in:
lib/core/terminal.rb

.format_command(command_name) ⇒ Object

Returns command name in consistent, uniform manner.

Returns:

  • String



259
260
261
# File 'lib/core/terminal.rb', line 259

def self.format_command(command_name)
    "\x1B[38;5;70m$ \x1B[38;5;240m#{command_name}\x1B[0m"
end