Class: Mysh::EnvInfoCommand

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

Overview

Get info on the mysh 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 @env shell command.



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

def process_command(_args)
  print WORKING
  Gem.refresh

  puts "Key mysh environment information.", "",
       info.format_output_bullets, "",
       path.format_output_bullets, ""
end