Class: Mysh::TermInfoCommand

Inherits:
Action show all
Defined in:
lib/mysh/show/term.rb

Overview

Get help on the term environment.

Instance Attribute Summary

Attributes inherited from Action

#description, #name

Instance Method Summary collapse

Methods inherited from Action

#action_info, #initialize, #process_quick_command, #short_name

Constructor Details

This class inherits a constructor from Mysh::Action

Instance Method Details

#process_command(_args) ⇒ Object

Execute the @term shell command.



10
11
12
13
14
15
16
# File 'lib/mysh/show/term.rb', line 10

def process_command(_args)
  print WORKING
  Gem.refresh

  puts "Key term information.", "",
       info.format_output_bullets, ""
end