Sha256: b1058c90b5eb01cc8863a1649a8f724872696fa6a53462c080df065290f182fa
Contents?: true
Size: 836 Bytes
Versions: 6
Compression:
Stored size: 836 Bytes
Contents
require 'cocoapods-tdfire-binary/binary_url_manager' require 'cocoapods-tdfire-binary/init_asker' module Pod class Command class Binary < Command class Init < Binary self.abstract_command = false self.summary = '初始化二进制插件' self.description = <<-DESC 初始化二进制插件 DESC def initialize(argv) @asker = Pod::Tdfire::InitAsker.new super end def run @asker.wellcome_message hash = binary_config.setting_hash Pod::Tdfire::InitAsker::QUESTIONS.each do |k, v| default = hash[k] if hash hash[k] = @asker.ask_with_answer(v, default) end binary_config.config_with_setting(hash) @asker.done_message end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems