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.28 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.27 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.26 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.25 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.24 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.23 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.22 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.21 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.20 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.19 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.18 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.17 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.16 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.15 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.14 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.13 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.12 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.11 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.10 lib/cocoapods-lhj-bin/command/bin/oss/list.rb
cocoapods-aomi-bin-0.1.9 lib/cocoapods-lhj-bin/command/bin/oss/list.rb