Sha256: 054bad5261d67c1c87a40843ff1129bffb6459d7dd82e9f97af3d46868160416
Contents?: true
Size: 463 Bytes
Versions: 14
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true require_relative 'base_operation' module Esse module CLI class Index::Delete < Index::BaseOperation def run validate_options! indices.each do |index| index.delete_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
14 entries across 14 versions & 1 rubygems