Class: Abide::CLI::SceUpdateConfig

Inherits:
AbideCommand
  • Object
show all
Defined in:
lib/abide_dev_utils/cli/sce.rb

Constant Summary collapse

CMD_NAME =
'update-config'
CMD_SHORT =
'Updates the Puppet SCE config'
CMD_LONG =
'Updates the Puppet SCE config'

Constants included from AbideDevUtils::Config

AbideDevUtils::Config::DEFAULT_PATH

Instance Method Summary collapse

Methods inherited from AbideCommand

#deprecated?, #on_after_add

Methods included from AbideDevUtils::Config

config_section, #config_section, fetch, #fetch, #to_h, to_h

Constructor Details

#initializeSceUpdateConfig

Returns a new instance of SceUpdateConfig.



163
164
165
166
# File 'lib/abide_dev_utils/cli/sce.rb', line 163

def initialize
  super(CMD_NAME, CMD_SHORT, CMD_LONG, takes_commands: true)
  add_command(SceUpdateConfigFromDiff.new)
end