Class: Kubes::CLI::Clean
Instance Method Summary collapse
Methods inherited from Base
#compile, #initialize, #pod_name
Methods included from Logging
Constructor Details
This class inherits a constructor from Kubes::CLI::Base
Instance Method Details
#run ⇒ Object
3 4 5 6 7 |
# File 'lib/kubes/cli/clean.rb', line 3 def run path = ".kubes/output" FileUtils.rm_rf("#{Kubes.root}/#{path}") logger.info "Removed #{path}" unless [:mute] end |