Sha256: 453fe9d9670e231079032726176a15d58974e84aafa8da8faf9718dbab38f15c

Contents?: true

Size: 203 Bytes

Versions: 58

Compression:

Stored size: 203 Bytes

Contents

class Kubes::CLI
  class Clean < Base
    def run
      path = ".kubes/output"
      FileUtils.rm_rf("#{Kubes.root}/#{path}")
      logger.info "Removed #{path}" unless @options[:mute]
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
kubes-0.4.4 lib/kubes/cli/clean.rb
kubes-0.4.3 lib/kubes/cli/clean.rb
kubes-0.4.2 lib/kubes/cli/clean.rb
kubes-0.4.1 lib/kubes/cli/clean.rb
kubes-0.4.0 lib/kubes/cli/clean.rb
kubes-0.3.5 lib/kubes/cli/clean.rb
kubes-0.3.4 lib/kubes/cli/clean.rb
kubes-0.3.3 lib/kubes/cli/clean.rb
kubes-0.3.2 lib/kubes/cli/clean.rb
kubes-0.3.1 lib/kubes/cli/clean.rb
kubes-0.3.0 lib/kubes/cli/clean.rb
kubes-0.2.6 lib/kubes/cli/clean.rb
kubes-0.2.5 lib/kubes/cli/clean.rb
kubes-0.2.4 lib/kubes/cli/clean.rb
kubes-0.2.3 lib/kubes/cli/clean.rb
kubes-0.2.2 lib/kubes/cli/clean.rb
kubes-0.2.1 lib/kubes/cli/clean.rb
kubes-0.2.0 lib/kubes/cli/clean.rb