Class: Boothby::Commands::Setup

Inherits:
Boothby::Command show all
Defined in:
lib/boothby/commands/setup.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) ⇒ Setup

Returns a new instance of Setup.



9
10
11
# File 'lib/boothby/commands/setup.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/setup.rb', line 13

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