|
jjm.one.CommandLineToolWrapper
2.0.0-alpha.0
A C# library that provides a wrapper for command line tools.
|
The default implementation of the IToolWrapper interface. More...


Public Member Functions | |
| ToolWrapper (ToolSettings toolSettings, WrapperSettings wrapperSettings, IProcessRunner? processRunner=null, ILogger< ToolWrapper >? logger=null) | |
| Initializes a new instance of the ToolWrapper class. More... | |
| async Task< ProcessResult > | RunCommandAsync (string command, params object?[] args) |
| Runs a command asynchronously. | |
The default implementation of the IToolWrapper interface.
| ToolWrapper.ToolWrapper | ( | ToolSettings | toolSettings, |
| WrapperSettings | wrapperSettings, | ||
| IProcessRunner? | processRunner = null, |
||
| ILogger< ToolWrapper >? | logger = null |
||
| ) |
Initializes a new instance of the ToolWrapper class.
| toolSettings | The settings for the command line tool. |
| wrapperSettings | The settings for the command line tool wrapper. |
| processRunner | The process runner to use. If null, a new ProcessRunner will be created. |
| logger | The logger to use. If null, logging will be disabled. |