class Ey::Core::Cli::Recipes::Apply
Public Instance Methods
handle()
click to toggle source
# File lib/ey-core/cli/recipes/apply.rb, line 44 def handle operator, environment = core_operator_and_environment_for(options) raise "Unable to find matching environment" unless environment opts = {} opts[:no_wait] = switch_active?(:no_wait) opts[:verbose] = switch_active?(:verbose) opts[:watch] = option(:watch) run_chef(run_type, environment, opts) end
Private Instance Methods
run_type()
click to toggle source
# File lib/ey-core/cli/recipes/apply.rb, line 57 def run_type (switch_active?(:quick) && "quick") || "main" end