Class: Pod::Command::Stable::Sync

Inherits:
Pod::Command::Stable show all
Defined in:
lib/cocoapods-bb-PodAssistant/command/stable/sync.rb

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Sync

Returns a new instance of Sync.



17
18
19
# File 'lib/cocoapods-bb-PodAssistant/command/stable/sync.rb', line 17

def initialize(argv)
  super
end

Instance Method Details

#runObject



21
22
23
24
25
26
27
# File 'lib/cocoapods-bb-PodAssistant/command/stable/sync.rb', line 21

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