This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.MkDocs.
Summary
Builds process arguments based on settings.
- Assembly
- Cake
.MkDocs .dll - Namespace
- Cake
.MkDocs - Containing Type
- MkDocsTool
<TSettings>
Syntax
protected ProcessArgumentBuilder BuildArguments(TSettings settings, Action<ProcessArgumentBuilder> setCommandValues = null)
Examples
// MkDocsNewSettings are related to "new" process command
var settings = new MkDocsNewSettings()
{
Quiet = true
};
var argumentBuilder = BuildArguments(settings, arguments => arguments.Append("./project-directory"));
// Generate arguments: "new ./project-directory --quiet"
Parameters
Name | Type | Description |
---|---|---|
settings | TSettings | The settings. |
setCommandValues | Action |
If specified called during process argument building. |
Return Value
Type | Description |
---|---|
Process |
ProcessArgumentBuilder with all commands and arguments for process. |