Sha256: 6ccaf68b4be3df33cc77993e5efde6cf2a72f7e299c0ae2b2dc6fb09cae884ab
Contents?: true
Size: 1.08 KB
Versions: 81
Compression:
Stored size: 1.08 KB
Contents
require 'lhj/helper/oss_helper' require 'terminal-table' module Lhj class Command class OSS < Command class Info < OSS self.description = <<-DESC 查看当前OSS Bucket的信息 DESC def handle puts '-------base-----------' base_info puts '-------alc-----------' puts Lhj::OSS::Helper.instance.alc puts '-------logging-----------' puts Lhj::OSS::Helper.instance.logging puts '-------lifecycle----------' puts Lhj::OSS::Helper.instance.lifecycle puts '-------cors-----------' puts Lhj::OSS::Helper.instance.cors puts '--------website----------' puts Lhj::OSS::Helper.instance.website puts '--------referer----------' puts Lhj::OSS::Helper.instance.referer end def base_info puts Lhj::OSSConfig.oss_access_key_id puts Lhj::OSSConfig.oss_access_key_secret puts Lhj::OSSConfig.oss_endpoint puts Lhj::OSSConfig.oss_bucket end end end end end
Version data entries
81 entries across 81 versions & 1 rubygems