You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <item>Installation succeeds when the executable is present after the above steps.</item>
32
32
/// </list>
33
33
/// </remarks>
34
-
/// <param name="toolName">The NuGet package ID of the tool (e.g. <c>Riverside.JsonBinder.Console</c>).</param>
34
+
/// <param name="packageId">The NuGet package ID of the tool (e.g. <c>Riverside.JsonBinder.Console</c>).</param>
35
35
/// <param name="toolDirectory">The directory to install the tool into, passed to <c>--tool-path</c>.</param>
36
36
/// <param name="version">
37
37
/// A specific version to pin. Pass <see langword="null"/> to install or keep the latest.
38
38
/// </param>
39
39
/// <param name="timeout">Maximum wait time per install or update process. Defaults to 5 minutes.</param>
40
+
/// <param name="commandName">
41
+
/// The executable/command name to look for in <paramref name="toolDirectory"/> (e.g. <c>jsonbinder</c>).
42
+
/// If <see langword="null"/>, <paramref name="packageId"/> is used as the command name.
43
+
/// </param>
40
44
/// <returns>
41
45
/// A tuple where <c>Success</c> is <see langword="true"/> when the executable is available, and <c>Error</c> carries the captured stderr when installation fails.
0 commit comments