24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/chef/knife/helper_list.rb', line 24
def run
::Knife::Helper::Commands.new(
::Knife::Helper::Config.new(config[:file]).data
).commands.each do |c|
if config[:all]
output(ui.presenter.format_for_display(c))
else
output c['name']
end
end
end
|