Sha256: 3381481a979aa3ed3c3362375dc48c43feb72af23c2fd101e347fd6a2b906053

Contents?: true

Size: 498 Bytes

Versions: 24

Compression:

Stored size: 498 Bytes

Contents

# frozen_string_literal: true
require 'cocoapods-lhj-bin/helpers/oss_helper'

module Pod
  class Command
    class Bin < Command
      class OSS < Bin
        class List < OSS
          self.summary = '查看OSS列表'

          def run
            objects = CBin::OSS::Helper.instance.list
            objects.each do |o|
              path = "#{CBin::OSS::Helper.instance.url_path}/#{o.key}"
              UI.puts path.green
            end
          end
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
cocoapods-aomi-bin-0.1.8 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.7 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.6 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.5 lib/cocoapods-lhj-bin/command/bin/oss/list.rb