Summary
Runs the tool using an action to configure settings.
- Namespace
- Cake
.AsciiDoctorJ - Containing Type
- AsciiDoctorJAliases
Syntax
[CakeMethodAlias]
[CakeAliasCategory("AsciiDoctorJ")]
public static void AsciiDoctorJ(this ICakeContext context, Action<AsciiDoctorJRunnerSettings>? configure = null)
Examples
Task("Convert")
.Does(() =>
{
AsciiDoctorJ(s => s
.WithVerbose()
.WithDocType(DocType.Article)
.WithBackend("pdf")
.WithInputFile(file)
.WithDestinationDir(distDir));
});
Attributes
Type | Description |
---|---|
CakeMethodAlias | |
CakeAliasCategory |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The ICakeContext . |
configure | Action |
An action to configure the AsciiDoctorJRunnerSettings . |
Return Value
Type | Description |
---|---|
void |