Sha256: 2253f3bc30fe008bc00d376f06a3d4c1b865de0dfa93330e7ba4d7f74c42b58b
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
class Terraspace::CLI class Logs < Terraspace::Command class_option :yes, aliases: :y, type: :boolean, desc: "bypass are you sure prompt" 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
terraspace-0.3.6 | lib/terraspace/cli/logs.rb |