Class: Katar::Commands::Application
- Inherits:
-
Thor
- Object
- Thor
- Katar::Commands::Application
- Defined in:
- lib/katar/commands/application.rb
Instance Method Summary collapse
- #destroy ⇒ Object
- #edit ⇒ Object
- #halt ⇒ Object
- #init ⇒ Object
- #provision ⇒ Object
- #reload ⇒ Object
- #resume ⇒ Object
- #ssh ⇒ Object
- #status ⇒ Object
- #suspend ⇒ Object
- #up ⇒ Object
- #update ⇒ Object
- #version ⇒ Object
Instance Method Details
#destroy ⇒ Object
50 51 52 |
# File 'lib/katar/commands/application.rb', line 50 def destroy run_command "vagrant destroy" end |
#edit ⇒ Object
20 21 22 |
# File 'lib/katar/commands/application.rb', line 20 def edit require_command!("edit_command") end |
#halt ⇒ Object
60 61 62 |
# File 'lib/katar/commands/application.rb', line 60 def halt run_command "vagrant halt" end |
#init ⇒ Object
15 16 17 |
# File 'lib/katar/commands/application.rb', line 15 def init require_command!("init_command") end |
#provision ⇒ Object
65 66 67 |
# File 'lib/katar/commands/application.rb', line 65 def provision run_command "vagrant provision" end |
#reload ⇒ Object
45 46 47 |
# File 'lib/katar/commands/application.rb', line 45 def reload run_command "vagrant reload" end |
#resume ⇒ Object
40 41 42 |
# File 'lib/katar/commands/application.rb', line 40 def resume run_command "vagrant resume" end |
#ssh ⇒ Object
30 31 32 |
# File 'lib/katar/commands/application.rb', line 30 def ssh run_command "vagrant ssh" end |
#status ⇒ Object
55 56 57 |
# File 'lib/katar/commands/application.rb', line 55 def status run_command "vagrant status" end |
#suspend ⇒ Object
35 36 37 |
# File 'lib/katar/commands/application.rb', line 35 def suspend run_command "vagrant suspend" end |
#up ⇒ Object
25 26 27 |
# File 'lib/katar/commands/application.rb', line 25 def up run_command "vagrant up" end |
#update ⇒ Object
70 71 72 |
# File 'lib/katar/commands/application.rb', line 70 def update run_command "vagrant box update" end |