Class: Chap::CLI

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

Instance Method Summary collapse

Instance Method Details

#deployObject



25
26
27
# File 'lib/chap/cli.rb', line 25

def deploy
  Chap::Task.deploy(options)
end

#hook(name) ⇒ Object



39
40
41
# File 'lib/chap/cli.rb', line 39

def hook(name)
  Chap::Runner.new(options).test_hook(name)
end

#setupObject



8
9
10
# File 'lib/chap/cli.rb', line 8

def setup
  Chap::Task.setup(options)
end


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

def symlink
  Chap::Runner.new(options).symlink
end