Class: Pod::Command::Hbh::Git

Inherits:
Pod::Command::Hbh show all
Defined in:
lib/cocoapods-hbh/command/common/hbh_git.rb

Instance Method Summary collapse

Methods inherited from Pod::Command::Hbh

#generate_obj, #validate!

Constructor Details

#initialize(argv) ⇒ Git

self.arguments = “hbhgit”



15
16
17
# File 'lib/cocoapods-hbh/command/common/hbh_git.rb', line 15

def initialize(argv)
    super    
end

Instance Method Details

#runObject



19
20
21
22
23
# File 'lib/cocoapods-hbh/command/common/hbh_git.rb', line 19

def run
    UI.puts "同步Git相关命令"
    GitHooksSync.new.sync()
    UI.puts "同步完成"
end