CliProgram
declslides.cli.CliProgram
final class CliProgram(commandFactory: RenderCommandFactory, printError: String => Unit, printInfo: String => Unit)
Orchestrates the command-line flow for declslides.
A CliProgram translates raw arguments into a validated configuration, builds the rendering command, executes it, and reports either a friendly error or a success message.
Value parameters
- commandFactory
-
factory used to build the concrete rendering command
- printError
-
sink for user-facing error messages
- printInfo
-
sink for user-facing informational messages
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article