Represents the settings for a command line tool.
More...
|
| string | ToolPath = string.Empty [get] |
| | Gets or sets the path to the tool. More...
|
| |
| Dictionary< string, string > | CommandTemplates [get] |
| | Gets or sets the command templates for the tool. More...
|
| |
| List< int > | RetryExitCodes = [1] [get] |
| | Gets or sets the exit codes that trigger a retry. More...
|
| |
| List< string > | RetryOutputContains = ["network error", "timeout"] [get] |
| | Gets or sets the output strings that trigger a retry. More...
|
| |
| List< string > | RetryErrorContains = ["network error", "timeout"] [get] |
| | Gets or sets the error strings that trigger a retry. More...
|
| |
Represents the settings for a command line tool.
◆ CommandTemplates
| Dictionary<string, string> ToolSettings.CommandTemplates |
|
get |
Initial value:= new()
{
["help"] = "--help",
["version"] = "--version"
}
Gets or sets the command templates for the tool.
◆ RetryErrorContains
| List<string> ToolSettings.RetryErrorContains = ["network error", "timeout"] |
|
get |
Gets or sets the error strings that trigger a retry.
◆ RetryExitCodes
| List<int> ToolSettings.RetryExitCodes = [1] |
|
get |
Gets or sets the exit codes that trigger a retry.
◆ RetryOutputContains
| List<string> ToolSettings.RetryOutputContains = ["network error", "timeout"] |
|
get |
Gets or sets the output strings that trigger a retry.
◆ ToolPath
| string ToolSettings.ToolPath = string.Empty |
|
get |
Gets or sets the path to the tool.
The documentation for this class was generated from the following file:
- src/jjm.one.CommandLineToolWrapper/settings/ToolSettings.cs