Sha256: 9bc938d03eafc8372784d7b281a6821a01dacf7129314f3147a2c421d41ae00f
Contents?: true
Size: 920 Bytes
Versions: 1
Compression:
Stored size: 920 Bytes
Contents
module S3Secure class Versioning < Command class_option :quiet, type: :boolean desc "list", "List bucket versionings" long_desc Help.text("versioning/list") option :format, desc: "Format options: #{CliFormat.formats.join(', ')}" option :versioning, desc: "Filter for versioning: all, true, false" def list List.new(options).run end desc "show BUCKET", "show bucket versioning" long_desc Help.text("versioning/show") def show(bucket) Show.new(options.merge(bucket: bucket)).run end desc "enable BUCKET", "enable bucket versioning" long_desc Help.text("versioning/enable") def enable(bucket) Enable.new(options.merge(bucket: bucket)).run end desc "disable BUCKET", "disable bucket versioning" long_desc Help.text("versioning/disable") def disable(bucket) Disable.new(options.merge(bucket: bucket)).run end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
s3-secure-0.5.1 | lib/s3_secure/versioning.rb |