require 'cocoapods-bb-PodAssistant/config/source_manager' module Pod class Command class Stable < Command class Init < Stable self.summary = '[初始化项目yml配置] Generate a Stable yml config file from a Podfile.lock' self.description = <<-DESC 通过项目`Podfile.lock`文件,生成`stable_specs_lock.yml`配置文件 DESC def initialize(argv) super end def run # verify_podfile_exists! source_manager = BB::SourceManager.new() puts "[PodAssistant] 开始配置生成当前项目yml文件".yellow # 生成本地yml配置 source_manager.generate_localStable puts "[PodAssistant] `pod stable init` complete!".green end end end end end