Class: Esse::CLI::Index::Open

Inherits:
BaseOperation show all
Defined in:
lib/esse/cli/index/open.rb

Instance Method Summary collapse

Methods inherited from BaseOperation

#initialize

Methods included from Output

colorize, formatted_runtime, print_backtrace, print_error, print_message, runtime_padding

Constructor Details

This class inherits a constructor from Esse::CLI::Index::BaseOperation

Instance Method Details

#runObject



8
9
10
11
12
13
# File 'lib/esse/cli/index/open.rb', line 8

def run
  validate_options!
  indices.each do |index|
    index.open(**options)
  end
end