Sha256: 9e9189ad0ddb7bf79254032a46bba28641976b47346bf897ff410a0a6c9cdee8

Contents?: true

Size: 269 Bytes

Versions: 7

Compression:

Stored size: 269 Bytes

Contents

class Ufo::CLI::Central
  class Clean < Base
    def run
      path = "#{ENV['HOME']}/.ufo/central"
      sure?("Will remove folder with repo caches: #{pretty_home(path)}")
      FileUtils.rm_rf(path)
      logger.info "Removed: #{pretty_home(path)}"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ufo-6.0.9 lib/ufo/cli/central/clean.rb
ufo-6.0.8 lib/ufo/cli/central/clean.rb
ufo-6.0.7 lib/ufo/cli/central/clean.rb
ufo-6.0.6 lib/ufo/cli/central/clean.rb
ufo-6.0.5 lib/ufo/cli/central/clean.rb
ufo-6.0.4 lib/ufo/cli/central/clean.rb
ufo-6.0.3 lib/ufo/cli/central/clean.rb