Module: R10K::CLI::Deploy::Display

Defined in:
lib/r10k/cli/deploy.rb

Class Method Summary collapse

Class Method Details

.commandObject



82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/r10k/cli/deploy.rb', line 82

def self.command
  @cmd ||= Cri::Command.define do
    name  'display'
    aliases 'list'
    usage 'display'
    summary 'Display environments and modules in the deployment'

    flag :p, :puppetfile, 'Display Puppetfile modules'
    flag nil, :detail, 'Display detailed information'

    runner R10K::Action::CriRunner.wrap(R10K::Action::Deploy::Display)
  end
end