Class: Mysh::UsageOption

Inherits:
CommandOption show all
Defined in:
lib/mysh/command_line/usage.rb

Overview

The mysh help command usage.

Instance Attribute Summary

Attributes inherited from Action

#description, #name

Instance Method Summary collapse

Methods inherited from CommandOption

#get_arg, #post_boot

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

#pre_boot(_args) ⇒ Object

Execute the help command line option. (Punt to error handler with no msg)

Raises:



10
11
12
# File 'lib/mysh/command_line/usage.rb', line 10

def pre_boot(_args)
  raise MyshUsage
end