RenderCommand

declslides.application.RenderCommand
final class RenderCommand

Application use case that renders a presentation script into an output file.

The command resolves the requested format and delegates the actual execution to a ScriptRunner. It does not deal with command-line concerns or with low-level process wiring.

Value parameters

formatResolver

component that turns raw format labels into render targets

runner

component that executes the actual rendering

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(registry: RendererRegistry, runner: ScriptRunner)

Concrete methods

def run(input: Path, format: String, output: Path): Either[ApplicationError, Unit]

Renders a presentation from raw input, format, and output values.

Renders a presentation from raw input, format, and output values.

Attributes

def run(request: RenderRequest): Either[ApplicationError, Unit]

Renders a presentation from a single request value.

Renders a presentation from a single request value.

Attributes