Sha256: d35bb3763af03184865f078d7357c1cd8700b5a365c96820c90d88217c1111d2
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true require_relative 'base_operation' module Esse module CLI class Index::Open < Index::BaseOperation def run validate_options! indices.each do |index| index.elasticsearch.open!(**options) end end private def options @options.slice(*@options.keys - CLI_IGNORE_OPTS) end def validate_options! validate_indices_option! end end end end
Version data entries
5 entries across 5 versions & 1 rubygems