18 references to CompleteCommand
dotnet (1)
Commands\Hidden\Complete\CompleteCommandParser.cs (1)
36command.SetAction(CompleteCommand.Run);
dotnet.Tests (17)
CommandTests\Hidden\Complete\CompleteCommandTests.cs (17)
58CompleteCommand.RunWithReporter(new[] { "dotnet " }, reporter).Should().Be(0); 80CompleteCommand.RunWithReporter(new[] { "dotnet -" }, reporter).Should().Be(0); 102CompleteCommand.RunWithReporter(new[] { "dotnet new " }, reporter).Should().Be(0); 128CompleteCommand.RunWithReporter(new[] { "dotnet nuget " }, reporter).Should().Be(0); 152CompleteCommand.RunWithReporter(new[] { "dotnet nuget delete " }, reporter).Should().Be(0); 178CompleteCommand.RunWithReporter(new[] { "dotnet nuget locals " }, reporter).Should().Be(0); 213CompleteCommand.RunWithReporter(new[] { "dotnet nuget push " }, reporter).Should().Be(0); 233CompleteCommand.RunWithReporter(new[] { "dotnet nuget verify " }, reporter).Should().Be(0); 259CompleteCommand.RunWithReporter(new[] { "dotnet nuget trust " }, reporter).Should().Be(0); 289CompleteCommand.RunWithReporter(new[] { "dotnet nuget sign " }, reporter).Should().Be(0); 307CompleteCommand.RunWithReporter(new[] { "dotnet nuget why " }, reporter).Should().Be(0); 319CompleteCommand.RunWithReporter(GetArguments("dotnet add pack$ abc"), reporter).Should().Be(0); 332CompleteCommand.RunWithReporter(GetArguments("dotnet tool in$ abc"), reporter).Should().Be(0); 348CompleteCommand.RunWithReporter(GetArguments("dotnet add package Newt$"), reporter).Should().Be(0); 370CompleteCommand.RunWithReporter(GetArguments($"dotnet add package {knownPackage} --version $"), reporter).Should().Be(0); 393CompleteCommand.RunWithReporter(GetArguments($"dotnet add package {knownPackage} --version {knownVersion}$"), reporter).Should().Be(0); 419CompleteCommand.RunWithReporter(GetArguments($"dotnet add package {knownPackage} --prerelease --version {knownVersion}$"), reporter).Should().Be(0);