class EY::Serverside::CLI::App
App
is the actual Thor-based entry point for the engineyard-serverside CLI
application
Public Instance Methods
deploy(default_task=:deploy)
click to toggle source
# File lib/engineyard-serverside/cli/app.rb, line 56 def deploy(default_task=:deploy) # By default, we'll want to perform the :deploy workflow, but this # method is also the entry point for the rollback workflow. So, # we'll just let the workflow system figure out what to do based on # the task passed in from the command line. Workflows.perform(default_task, options) end
disable_maintenance()
click to toggle source
# File lib/engineyard-serverside/cli/app.rb, line 88 def disable_maintenance Workflows.perform(:disable_maintenance, options) end
enable_maintenance()
click to toggle source
# File lib/engineyard-serverside/cli/app.rb, line 70 def enable_maintenance Workflows.perform(:enable_maintenance, options) end
hook(hook_name)
click to toggle source
# File lib/engineyard-serverside/cli/app.rb, line 106 def hook(hook_name) Workflows.perform( :hook, options.merge(:hook_name => hook_name) ) end
integrate()
click to toggle source
# File lib/engineyard-serverside/cli/app.rb, line 122 def integrate Workflows.perform(:integrate, options) end
maintenance_status()
click to toggle source
# File lib/engineyard-serverside/cli/app.rb, line 79 def maintenance_status Workflows.perform(:maintenance_status, options) end
restart()
click to toggle source
# File lib/engineyard-serverside/cli/app.rb, line 131 def restart Workflows.perform(:restart, options) end
version()
click to toggle source
# File lib/engineyard-serverside/cli/app.rb, line 136 def version puts EY::Serverside::VERSION end