Class: Abide::CLI::CemUpdateConfig

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

Constant Summary collapse

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

Constants included from AbideDevUtils::Config

AbideDevUtils::Config::DEFAULT_PATH

Instance Method Summary collapse

Methods included from AbideDevUtils::Config

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

Constructor Details

#initializeCemUpdateConfig

Returns a new instance of CemUpdateConfig.



134
135
136
137
# File 'lib/abide_dev_utils/cli/cem.rb', line 134

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