Class: Mysh::EnvInfoCommand

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

Overview

  • mysh/internal/actions/show/env.rb – Get help on the mysh environment.

Constant Summary

Constants inherited from Action

Action::ACTIONS_PATH

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 ? shell command.



10
11
12
13
14
# File 'lib/mysh/internal/actions/show/env.rb', line 10

def process_command(_args)
  puts "Key mysh environment information.", ""
  puts info.format_mysh_bullets, "",
       path.format_mysh_bullets, ""
end