Class: Vnehm::ConfigureCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/vnehm/commands/configure_command.rb

Instance Attribute Summary

Attributes inherited from Command

#options, #options_descs

Instance Method Summary collapse

Methods inherited from Command

#add_option, #arguments, #handle_options, #initialize, #invoke

Constructor Details

This class inherits a constructor from Vnehm::Command

Instance Method Details

#executeObject



4
5
6
7
8
9
10
11
# File 'lib/vnehm/commands/configure_command.rb', line 4

def execute
  loop do
    show_info
    UI.newline
    show_menu
    UI.sleep
  end
end

#program_nameObject



13
14
15
# File 'lib/vnehm/commands/configure_command.rb', line 13

def program_name
  'vnehm configure'
end

#summaryObject



17
18
19
# File 'lib/vnehm/commands/configure_command.rb', line 17

def summary
  'Настройка приложения'
end

#usageObject



21
22
23
# File 'lib/vnehm/commands/configure_command.rb', line 21

def usage
  'vnehm configure'
end