Sha256: 68baeeebf565a1fd5ec7ac61a38926c82d021f1878f14a7387e5eb036a6a6f14

Contents?: true

Size: 859 Bytes

Versions: 6

Compression:

Stored size: 859 Bytes

Contents

require_relative 'options/options'
require_relative 'header/header'
require_relative 'binary/binary'
require_relative 'user/user'

module Pod
  class Command
    class JxedtCommand < Command
      self.summary = 'cocoapods-jxedt插件命令工具。'

      self.description = <<-DESC
        cocoapods-jxedt插件命令工具。
      DESC

      self.command = 'jxedt'
      self.abstract_command = true

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

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

      def validate!
        if @version
          require 'cocoapods-jxedt/gem_version'
          puts "#{CocoapodsJxedt::VERSION}"
          return
        end
        super
      end

      def run
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cocoapods-jxedt-0.0.19 lib/cocoapods-jxedt/command/jxedt.rb
cocoapods-jxedt-0.0.18 lib/cocoapods-jxedt/command/jxedt.rb
cocoapods-jxedt-0.0.17 lib/cocoapods-jxedt/command/jxedt.rb
cocoapods-jxedt-0.0.16 lib/cocoapods-jxedt/command/jxedt.rb
cocoapods-jxedt-0.0.15 lib/cocoapods-jxedt/command/jxedt.rb
cocoapods-jxedt-0.0.14 lib/cocoapods-jxedt/command/jxedt.rb