Class: Abide::CLI::PuppetCommand

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

Constant Summary collapse

CMD_NAME =
'puppet'
CMD_SHORT =
'Commands related to Puppet code'
CMD_LONG =
'Namespace for commands related to Puppet code'

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

#initializePuppetCommand

Returns a new instance of PuppetCommand.



13
14
15
16
17
18
19
20
21
# File 'lib/abide_dev_utils/cli/puppet.rb', line 13

def initialize
  super(CMD_NAME, CMD_SHORT, CMD_LONG, takes_commands: true)
  add_command(PuppetCoverageCommand.new)
  add_command(PuppetNewCommand.new)
  add_command(PuppetRenameCommand.new)
  add_command(PuppetFixClassNamesCommand.new)
  add_command(PuppetAuditClassNamesCommand.new)
  add_command(PuppetAddCISCommentCommand.new)
end