Class: HammerCLIForemanSalt::SaltHostgroup::UpdateCommand

Inherits:
HammerCLIForeman::UpdateCommand
  • Object
show all
Defined in:
lib/hammer_cli_foreman_salt/salt_hostgroup.rb

Class Method Summary collapse

Class Method Details

.create_option_builderObject

remove –new-* and –name commands



32
33
34
35
36
37
# File 'lib/hammer_cli_foreman_salt/salt_hostgroup.rb', line 32

def self.create_option_builder
  builder = super
  builder.builders.delete_if { |b| b.class == HammerCLIForeman::SearchablesUpdateOptionBuilder }
  builder.builders.delete_if { |b| b.class == HammerCLIForeman::SearchablesOptionBuilder }
  builder
end