module EY::Serverside::CLI::Workflows

Workflows is a collection of reified procedures that handle the various requirements of our CLI app

Constants

DEFINED

Public Class Methods

normalized(workflow) click to toggle source
# File lib/engineyard-serverside/cli/workflows.rb, line 37
def self.normalized(workflow)
  return nil if workflow.nil?

  workflow.to_sym
end
perform(workflow, options = {}) click to toggle source
# File lib/engineyard-serverside/cli/workflows.rb, line 28
def self.perform(workflow, options = {})
  resolve(workflow).
    perform(options)
end
resolve(workflow) click to toggle source
# File lib/engineyard-serverside/cli/workflows.rb, line 33
def self.resolve(workflow)
  (DEFINED[normalized(workflow)] || Base)
end