MkDocsTool<TSettings>.

Run(TSettings, Action<ProcessArgumentBuilder>) Method

Summary

Runs the tool using the specified settings. Creates process arguments based on settings attribute.
Assembly
Cake.MkDocs.dll
Namespace
Cake.MkDocs
Containing Type
MkDocsTool<TSettings>

Syntax

protected void Run(TSettings settings, Action<ProcessArgumentBuilder> setCommandValues = null)

Examples

// MkDocsNewSettings are related to "new" process command
var settings = new MkDocsNewSettings();
Run(settings, arguments => arguments.Append("./project-directory"));

Parameters

Name Type Description
settings TSettings The settings.
setCommandValues Action<ProcessArgumentBuilder> If specified called during process argument building.

Return Value

Type Description
void