Class: Esse::CLI::Index::UpdateAliases

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

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