Sha256: 9db628e2964e4c395631096a4273e44e883e111632b17d2110e3368ac8bcb635
Contents?: true
Size: 476 Bytes
Versions: 5
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true require_relative 'base_operation' module Esse module CLI class Index::Reset < Index::BaseOperation def run validate_options! indices.each do |index| index.elasticsearch.reset_index!(**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