Sha256: 02ce88536df85c421c01bd7716835dd2e9ae83c61580c6591dc2c5f1057cb99b

Contents?: true

Size: 563 Bytes

Versions: 5

Compression:

Stored size: 563 Bytes

Contents

class Lono::CLI
  class S3 < Lono::Command
    opts = Opts.new(self)

    desc "deploy", "deploys lono managed s3 bucket"
    long_desc Help.text("s3/deploy")
    def deploy
      Lono::S3::Bucket.new(options).deploy
    end

    desc "show", "shows lono managed s3 bucket"
    long_desc Help.text("s3/show")
    opts.yes
    def show
      Lono::S3::Bucket.new(options).show
    end

    desc "delete", "deletes lono managed s3 bucket"
    long_desc Help.text("s3/delete")
    opts.yes
    def delete
      Lono::S3::Bucket.new(options).delete
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lono-8.0.0.pre.rc6 lib/lono/cli/s3.rb
lono-8.0.0.pre.rc5 lib/lono/cli/s3.rb
lono-8.0.0.pre.rc4 lib/lono/cli/s3.rb
lono-8.0.0.pre.rc3 lib/lono/cli/s3.rb
lono-8.0.0.pre.rc2 lib/lono/cli/s3.rb