Class: Puppet::Module::Tool::Applications::Cleaner

Inherits:
Application
  • Object
show all
Defined in:
lib/puppet/module/tool/applications/cleaner.rb

Instance Attribute Summary

Attributes inherited from Application

#options

Instance Method Summary collapse

Methods inherited from Application

#discuss, #initialize, #load_modulefile!, #metadata, #parse_filename!, #repository, run

Methods included from Utils::Interrogation

#confirms?, #header, #prompt, #say, #subheader

Constructor Details

This class inherits a constructor from Puppet::Module::Tool::Applications::Application

Instance Method Details

#runObject



6
7
8
9
# File 'lib/puppet/module/tool/applications/cleaner.rb', line 6

def run
  Puppet::Module::Tool::Cache.clean
  puts "Cleaned module cache."
end