CliWrap v2.0 Release Notes
-
- ⚡️ Re-designed the API so that it follows the builder pattern. Execution parameters are now supplied using chainable methods on the
Cli
instead of viaExecutionInput
. Things likeBufferHandler
andCancellationToken
are now also configured in the same manner. Refer to the readme to see updated usage examples. - It is now also possible to pipe a raw stream to standard input, instead of just a text string.
- ✂ Removed
ExecutionInput
,CliSettings
,BufferHandler
,EncodingSettings
. - 📇 Renamed
ExecutionOutput
toExecutionResult
. - ✂ Removed
ExecutionResult.HasError
andExecutionResult.ThrowIfError()
. - ➕ Added an option to automatically throw an exception when the underlying process reports a non-zero exit code. Is enabled by default.
- ➕ Added an option to automatically throw an exception when the underlying process writes anything to standard error. Is enabled by default.
- ⚡️ Re-designed the API so that it follows the builder pattern. Execution parameters are now supplied using chainable methods on the