Class: Bytedance::BytedanceManager::Mvvm
- Inherits:
-
Bytedance::BytedanceManager
- Object
- CLAide::Command
- Bytedance::BytedanceManager
- Bytedance::BytedanceManager::Mvvm
- Defined in:
- lib/command/mvvm.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(params) ⇒ Mvvm
constructor
A new instance of Mvvm.
- #run ⇒ Object
- #validate! ⇒ Object
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
.options ⇒ Object
7 8 9 |
# File 'lib/command/mvvm.rb', line 7 def self. end |
Instance Method Details
#run ⇒ Object
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 |