Class: Tenderloin::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/tenderloin/cli.rb

Instance Method Summary collapse

Instance Method Details

#box(arg1 = nil, arg2 = nil, arg3 = nil, arg4 = nil) ⇒ Object

TODO - make the box command use real args/a subcommand



35
36
37
38
# File 'lib/tenderloin/cli.rb', line 35

def box(arg1=nil, arg2=nil, arg3=nil, arg4=nil)
  setup
  Tenderloin::Commands.box([arg1, arg2, arg3, arg4].compact)
end

#destroyObject



28
29
30
31
# File 'lib/tenderloin/cli.rb', line 28

def destroy()
  setup
  Tenderloin::Commands.destroy
end

#haltObject



22
23
24
25
# File 'lib/tenderloin/cli.rb', line 22

def halt()
  setup
  Tenderloin::Commands.halt
end

#initObject



41
42
43
44
# File 'lib/tenderloin/cli.rb', line 41

def init()
  setup
  Tenderloin::Commands.init
end

#provisionObject



53
54
55
56
# File 'lib/tenderloin/cli.rb', line 53

def provision()
  setup
  Tenderloin::Commands.provision
end

#reloadObject



47
48
49
50
# File 'lib/tenderloin/cli.rb', line 47

def reload()
  setup
  Tenderloin::Commands.reload
end

#sshObject



59
60
61
62
# File 'lib/tenderloin/cli.rb', line 59

def ssh()
  setup
  Tenderloin::Commands.ssh
end

#upObject



16
17
18
19
# File 'lib/tenderloin/cli.rb', line 16

def up()
  setup
  Tenderloin::Commands.up
end