Class: Esse::CLI::Index::Create

Inherits:
BaseOperation show all
Defined in:
lib/esse/cli/index/create.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/create.rb', line 8

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