Class: Katar::Commands::Application

Inherits:
Thor
  • Object
show all
Defined in:
lib/katar/commands/application.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



50
51
52
# File 'lib/katar/commands/application.rb', line 50

def destroy
    run_command "vagrant destroy"
end

#editObject



20
21
22
# File 'lib/katar/commands/application.rb', line 20

def edit
    require_command!("edit_command")
end

#haltObject



60
61
62
# File 'lib/katar/commands/application.rb', line 60

def halt
    run_command "vagrant halt"
end

#initObject



15
16
17
# File 'lib/katar/commands/application.rb', line 15

def init
    require_command!("init_command")
end

#provisionObject



65
66
67
# File 'lib/katar/commands/application.rb', line 65

def provision
    run_command "vagrant provision"
end

#reloadObject



45
46
47
# File 'lib/katar/commands/application.rb', line 45

def reload
    run_command "vagrant reload"
end

#resumeObject



40
41
42
# File 'lib/katar/commands/application.rb', line 40

def resume
    run_command "vagrant resume"
end

#sshObject



30
31
32
# File 'lib/katar/commands/application.rb', line 30

def ssh
    run_command "vagrant ssh"
end

#statusObject



55
56
57
# File 'lib/katar/commands/application.rb', line 55

def status
    run_command "vagrant status"
end

#suspendObject



35
36
37
# File 'lib/katar/commands/application.rb', line 35

def suspend
    run_command "vagrant suspend"
end

#upObject



25
26
27
# File 'lib/katar/commands/application.rb', line 25

def up
    run_command "vagrant up"
end

#updateObject



70
71
72
# File 'lib/katar/commands/application.rb', line 70

def update
    run_command "vagrant box update"
end

#versionObject



10
11
12
# File 'lib/katar/commands/application.rb', line 10

def version
    puts Katar::VERSION
end