class

Fluxion::Executor::FileWriteExecutor

Inherits Fluxion::Executor::StepExecutor < Reference < Object

file-writes — write files from inline content or a local source.

Instance methods

commands(step : Step, item : ModuleItem) : Array(Command)

Commands for one item, in order. Empty means there is nothing to do.

Source
execute(step : Step, item : ModuleItem, runner : ShellRunner, &_sink : String -> ) : StepResult

Runs one item. The default runs each command in order and stops at the first that fails, because a later command in a sequence normally assumes the earlier one worked.

Source
supports?(step : Step) : Bool
Source