Class: Shoes::UI::CLI::ManualCommand

Inherits:
BaseCommand show all
Defined in:
shoes-core/lib/shoes/ui/cli/manual_command.rb

Instance Attribute Summary

Attributes inherited from BaseCommand

#args

Instance Method Summary collapse

Methods inherited from BaseCommand

#help_from_options, #initialize, #parse!, #warn_on_unexpected_parameters

Constructor Details

This class inherits a constructor from Shoes::UI::CLI::BaseCommand

Instance Method Details

#helpObject



12
13
14
15
16
17
# File 'shoes-core/lib/shoes/ui/cli/manual_command.rb', line 12

def help
  <<~EOS
    shoes manual
        Run the interactive Shoes manual
EOS
end

#runObject



7
8
9
10
# File 'shoes-core/lib/shoes/ui/cli/manual_command.rb', line 7

def run
  require 'shoes/manual'
  Shoes::Manual.run "English"
end