Class: Bytedance::BytedanceManager::Mvvm

Inherits:
Bytedance::BytedanceManager show all
Defined in:
lib/command/mvvm.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ Mvvm

Returns a new instance of Mvvm.



11
12
13
# File 'lib/command/mvvm.rb', line 11

def initialize(params)
    
end

Class Method Details

.optionsObject



7
8
9
# File 'lib/command/mvvm.rb', line 7

def self.options
    
end

Instance Method Details

#runObject



19
20
21
22
23
24
25
26
# File 'lib/command/mvvm.rb', line 19

def run
    super
    
    puts system('git clone [email protected]:ex_kid/mvvm_template.git')
    puts system('rm -rf ~/Library/Developer/Xcode/Templates/File\ Templates/mvvm_template')
    puts system('mv -f mvvm_template ~/Library/Developer/Xcode/Templates/File\ Templates/')
    
end

#validate!Object



15
16
17
# File 'lib/command/mvvm.rb', line 15

def validate!
    
end