Package-level declarations
Types
Link copied to clipboard
class CompileCommand(previewStrategyProvider: CompileCommand.() -> PreviewStrategy = {
WebServerPreviewStrategy(
port = serverPort,
browser = browser,
preferLivePreviewUrl = preview && watch,
)
}) : ExecuteCommand
Command to compile a Quarkdown file into an output.
Link copied to clipboard
Template for Quarkdown commands that launch a complete pipeline and produce output files.
Link copied to clipboard
data class ExecutionOutcome(val resource: OutputResource?, val directory: File?, val context: Context)
Outcome of a pipeline execution.
Link copied to clipboard
Thrown when the execution exceeds the allowed timeoutSeconds.
Link copied to clipboard
Command to start Quarkdown in interactive REPL mode. The result of each input is printed to standard output, and no file is written.
Properties
Functions
Link copied to clipboard
Creates the session every CLI compilation runs in. A session is created once per command and reused across live preview recompilations.
Link copied to clipboard
fun runQuarkdown(executionStrategy: PipelineExecutionStrategy, cliOptions: CliOptions, pipelineOptions: PipelineOptions): ExecutionOutcome
Executes a complete Quarkdown pipeline in a new session created from the given options.
fun runQuarkdown(executionStrategy: PipelineExecutionStrategy, session: QuarkdownSession, cliOptions: CliOptions): ExecutionOutcome
Executes a complete Quarkdown pipeline in session, over a fresh context that is closed once done.