Sha256: 3e18a8dab4c6664e94004ae68f81d7ea148cdd255a975e42d99d6b0e39829061

Contents?: true

Size: 934 Bytes

Versions: 6

Compression:

Stored size: 934 Bytes

Contents

require_relative 'package/package'
require_relative 'xcframework/xcframework'
require_relative 'libsource/source'
require_relative 'cocoapods-extend/extend'

module Pod
  class Command
    class Util < Command
      self.summary = '一个CocoaPods常用插件功能的集合'
      self.description = <<-DESC
      一个CocoaPods常用插件功能的集合,解决日常开发中遇到的一些问题。
      DESC
      self.command = 'util'
      self.abstract_command = true

      def self.options
        [
          ['--version', 'Show cocoapods-util version'],
        ].concat(super)
      end

      def initialize(argv)
        @version = argv.flag?('version', false)
        super
      end

      def validate!
        if @version
          require 'cocoapods-util/gem_version.rb'
          puts "#{CocoapodsUtil::VERSION}"
          return
        end
        super
      end

      def run
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cocoapods-util-0.2.2 lib/cocoapods-util/command/util.rb
cocoapods-util-0.2.1 lib/cocoapods-util/command/util.rb
cocoapods-util-0.2.0 lib/cocoapods-util/command/util.rb
cocoapods-util-0.0.16 lib/cocoapods-util/command/util.rb
cocoapods-util-0.0.15 lib/cocoapods-util/command/util.rb
cocoapods-util-0.0.14 lib/cocoapods-util/command/util.rb