AsciiDoctorJAliases.

AsciiDoctorJ(ICakeContext, Action<AsciiDoctorJRunnerSettings>) Method

Summary

Runs the tool using an action to configure settings.
Assembly
Cake.AsciiDoctorJ.dll
Namespace
Cake.AsciiDoctorJ
Containing Type
AsciiDoctorJAliases

Syntax

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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The ICakeContext.
configure Action<AsciiDoctorJRunnerSettings> An action to configure the AsciiDoctorJRunnerSettings.

Return Value

Type Description
void