102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
# File 'lib/r10k/cli/deploy.rb', line 102
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 modules (deprecated, use -m)'
flag :m, :modules, 'Display modules'
flag nil, :detail, 'Display detailed information'
flag nil, :fetch, 'Update available environment lists from all remote sources'
option nil, :format, 'Display output in a specific format. Valid values: json, yaml. Default: yaml',
argument: :required
runner R10K::Action::CriRunner.wrap(R10K::Action::Deploy::Display)
end
end
|