class Bake::Command::Call

Execute one or more commands.

def bakefile

def bakefile
	@parent.bakefile
end

def call

def call
	context = @parent.context
	
	context.call(*@commands) do |recipe, last_result|
		if last_result and !recipe.output?
			context.lookup("output").call(input: last_result)
		end
	end
end

def format(output, value)

def format(output, value)
	if formatter = OUTPUT[output]
		formatter.call(value)
	end
end