Class: Pod::Command::Stable::Init
- Inherits:
-
Pod::Command::Stable
- Object
- Pod::Command
- Pod::Command::Stable
- Pod::Command::Stable::Init
- Defined in:
- lib/cocoapods-bb-PodAssistant/command/stable/init.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Init
constructor
A new instance of Init.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ Init
Returns a new instance of Init.
14 15 16 |
# File 'lib/cocoapods-bb-PodAssistant/command/stable/init.rb', line 14 def initialize(argv) super end |
Instance Method Details
#run ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/cocoapods-bb-PodAssistant/command/stable/init.rb', line 18 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 |