CompileCommand
class CompileCommand(previewStrategyProvider: CompileCommand.() -> PreviewStrategy = {
WebServerPreviewStrategy(
port = serverPort,
browser = browser,
preferLivePreviewUrl = preview && watch,
)
}) : ExecuteCommand
Command to compile a Quarkdown file into an output.
Parameters
previewStrategyProvider
factory invoked once to produce the PreviewStrategy used after each successful compile when preview mode is enabled.
Constructors
Link copied to clipboard
constructor(previewStrategyProvider: CompileCommand.() -> PreviewStrategy = {
WebServerPreviewStrategy(
port = serverPort,
browser = browser,
preferLivePreviewUrl = preview && watch,
)
})
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun CliktCommand.browserLauncherOption(default: BrowserLauncher = NoneBrowserLauncher(), shouldValidate: () -> Boolean = { true }, envLookup: (String) -> String? = System::getenv): OptionDelegate<out BrowserLauncher?>
Option to select a browser launcher from the CLI, with validation and support of selection by name, path, or fixed choices.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard