11 references to ToolListCommandParser
dotnet (8)
Commands\Tool\List\ToolListCommand.cs (2)
28if (_parseResult.GetValue(ToolListCommandParser.GlobalOption) 29|| _parseResult.GetResult(ToolListCommandParser.ToolPathOption) is not null)
Commands\Tool\List\ToolListGlobalOrToolPathCommand.cs (3)
28var toolPathOption = _parseResult.GetValue(ToolListCommandParser.ToolPathOption); 29var packageIdArgument = _parseResult.GetValue(ToolListCommandParser.PackageIdArgument); 53var formatValue = _parseResult.GetValue(ToolListCommandParser.ToolListFormatOption);
Commands\Tool\List\ToolListLocalCommand.cs (2)
34var packageIdArgument = _parseResult.GetValue(ToolListCommandParser.PackageIdArgument); 42var formatValue = _parseResult.GetValue(ToolListCommandParser.ToolListFormatOption);
Commands\Tool\ToolCommandParser.cs (1)
37command.Subcommands.Add(ToolListCommandParser.GetCommand());
dotnet.Tests (3)
CommandTests\Tool\List\ListToolParserTests.cs (3)
23result.GetValue<bool>(ToolListCommandParser.GlobalOption).Should().Be(true); 31result.GetValue<bool>(ToolListCommandParser.LocalOption).Should().Be(true); 40result.GetValue<string>(ToolListCommandParser.ToolPathOption).Should().Be(@"C:\Tools");