Sha256: b2462a3d8e4ef780fc15ef5af0c3de6c5db75948bae75e0903710c39dbfa86ae

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

class Terraspace::CLI
  class Logs < Terraspace::Command
    desc "truncate", "Truncates logs. IE: Keeps the files but removes contents and zero bytes the files."
    long_desc Help.text("logs/truncate")
    def truncate
      Tasks.new(options).truncate
    end

    desc "remove", "Removes logs"
    long_desc Help.text("logs/remove")
    def remove
      Tasks.new(options).remove
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
terraspace-0.3.5 lib/terraspace/cli/logs.rb
terraspace-0.3.4 lib/terraspace/cli/logs.rb