Class: Vpsb::Commands::Init
- Inherits:
-
Object
- Object
- Vpsb::Commands::Init
- Defined in:
- lib/vpsb/commands/init.rb
Instance Method Summary collapse
Instance Method Details
#execute(params) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/vpsb/commands/init.rb', line 5 def execute(params) unless params.empty? name = params[0] p "creating directory #{name}" make_dir(name) enter_to_the_dir(name) end p 'installing all gems' install_all_gems p 'clone all repos' clone_all_repos end |