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.Powershell.
Summary
Sets a value indicating whether the output of an application should be formatted as text
- Assembly
- Cake
.Powershell .dll - Namespace
- Cake
.Powershell - Containing Type
- Powershell
Settings Extensions
Syntax
public static PowershellSettings SetFormatOutput(this PowershellSettings settings, bool format = true)
Parameters
Name | Type | Description |
---|---|---|
settings | PowershellSettings | The powershell settings. |
format | bool | true if output should be written to the cake console; otherwise, false. The default is false. |
Return Value
Type | Description |
---|---|
PowershellSettings | The same PowershellSettings instance so that multiple calls can be chained. |