Class: Abide::CLI::SceCommand

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

Constant Summary collapse

CMD_NAME =
'sce'
CMD_SHORT =
'Commands related to Puppet SCE'
CMD_LONG =
'Namespace for commands related to Puppet SCE'

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

#initializeSceCommand

Returns a new instance of SceCommand.



16
17
18
19
20
21
# File 'lib/abide_dev_utils/cli/sce.rb', line 16

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