Sha256: 2556452a141b58de4ade03b283f11648a9ac1b26e805a1434d03ebd58cf0d9a2

Contents?: true

Size: 616 Bytes

Versions: 3

Compression:

Stored size: 616 Bytes

Contents

module Forger
  class S3 < Command
    desc "deploy", "deploys forger managed s3 bucket"
    long_desc Help.text("s3/deploy")
    def deploy
      Bucket.new(options).deploy
    end

    desc "show", "shows forger managed s3 bucket"
    long_desc Help.text("s3/show")
    option :sure, type: :boolean, desc: "Bypass are you sure prompt"
    def show
      Bucket.new(options).show
    end

    desc "delete", "deletes forger managed s3 bucket"
    long_desc Help.text("s3/delete")
    option :sure, type: :boolean, desc: "Bypass are you sure prompt"
    def delete
      Bucket.new(options).delete
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forger-3.0.2 lib/forger/s3.rb
forger-3.0.1 lib/forger/s3.rb
forger-3.0.0 lib/forger/s3.rb