6 references to ToolPathOption
dotnet (4)
Commands\Tool\Install\ToolInstallCommand.cs (1)
20
private readonly string _toolPath = parseResult.GetValue(ToolInstallCommandParser.
ToolPathOption
);
Commands\Tool\Install\ToolInstallCommandParser.cs (1)
110
command.Options.Add(
ToolPathOption
);
Commands\Tool\Install\ToolInstallGlobalOrToolPathCommand.cs (1)
79
_toolPath = parseResult.GetValue(ToolInstallCommandParser.
ToolPathOption
);
Commands\Tool\Update\ToolUpdateCommand.cs (1)
50
_toolPath = result.GetValue(ToolInstallCommandParser.
ToolPathOption
);
dotnet.Tests (2)
CommandTests\Tool\Install\InstallToolParserTests.cs (1)
116
result.GetRequiredValue(ToolInstallCommandParser.
ToolPathOption
).Should().Be(@"C:\Tools");
CommandTests\Tool\Update\UpdateToolParserTests.cs (1)
109
result.GetValue(ToolInstallCommandParser.
ToolPathOption
).Should().Be(@"C:\TestAssetLocalNugetFeed");