require 'cocoapods-bb-PodAssistant/config/source_manager' require 'cocoapods-bb-PodAssistant/helpers/git_cmd_helper' require 'cocoapods-bb-PodAssistant/helpers/stable_env_helper' require 'cocoapods' module Pod class Command class Stable < Command class Sync < Stable self.summary = '[同步远端yml配置] sync a Stable yml config file' self.description = <<-DESC 同步远端stable yml配置文件,并对本地文件进行合并操作 DESC def initialize(argv) super end def run puts "开始合并远端stable yml数据".yellow # 数据合并 source_manager = BB::SourceManager.new() source_manager.merge_stable_data puts "[PodAssistant] `pod stable sync` complete! Please execute the [pod install/ pod update] command".green end end end end end