Class: Bartab::Commands::Install

Inherits:
Bartab::Command show all
Defined in:
lib/bartab/commands/install.rb

Instance Method Summary collapse

Methods inherited from Bartab::Command

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

Constructor Details

#initialize(options) ⇒ Install

Returns a new instance of Install.



8
9
10
# File 'lib/bartab/commands/install.rb', line 8

def initialize(options)
  @options = options
end

Instance Method Details

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



12
13
14
15
# File 'lib/bartab/commands/install.rb', line 12

def execute(input: $stdin, output: $stdout)
  # Command logic goes here ...
  output.puts "OK"
end