Sha256: 8ae169b8ba778f384e2cdb4197630adc6bd98878c6ad300aa8f330aa8da1999f
Contents?: true
Size: 927 Bytes
Versions: 44
Compression:
Stored size: 927 Bytes
Contents
require 'cocoapods-tdfire-binary/binary_url_manager' module Pod class Command class Binary < Command class Lib < Binary class Create < Lib self.abstract_command = false self.summary = '创建二进制模版库' self.description = <<-DESC 创建二进制模版库 DESC self.arguments = [ CLAide::Argument.new('NAME', true), ] def initialize(argv) @name = argv.shift_argument super end def validate! super help! "必须提供有效组件名称" if @name.nil? end def run argvs = [ "--template-url=#{Pod::Tdfire::BinaryUrlManager.template_lib_url}", @name ] create = Pod::Command::Lib::Create.new(CLAide::ARGV.new(argvs)) create.validate! create.run end end end end end end
Version data entries
44 entries across 44 versions & 1 rubygems