Class: Foreplay::CLI

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

Instance Method Summary collapse

Instance Method Details

#check(environment) ⇒ Object



20
21
22
# File 'lib/foreplay/cli.rb', line 20

def check(environment)
  Foreplay::Deploy.start [:check, environment, options]
end

#deploy(environment) ⇒ Object



11
12
13
# File 'lib/foreplay/cli.rb', line 11

def deploy(environment)
  Foreplay::Deploy.start [:deploy, environment, options]
end

#setup ⇒ Object



44
45
46
# File 'lib/foreplay/cli.rb', line 44

def setup
  Foreplay::Setup.start
end