Class: Boothby::Commands::Update

Inherits:
Boothby::Command show all
Defined in:
lib/boothby/commands/update.rb

Instance Method Summary collapse

Methods inherited from Boothby::Command

#command, #cursor, #editor, #exec_exist?, #generator, #pager, #platform, #prompt, #screen, #which

Constructor Details

#initialize(options) ⇒ Update

Returns a new instance of Update.



9
10
11
# File 'lib/boothby/commands/update.rb', line 9

def initialize(options)
  @options = options
end

Instance Method Details

#execute(input: $stdin, output: $stdout) ⇒ Object



13
14
15
# File 'lib/boothby/commands/update.rb', line 13

def execute(input: $stdin, output: $stdout)
  Boothby::App.update
end