1 write to _command
Aspire.Cli.Tests (1)
Commands\ParseResultHelperTests.cs (1)
90_command = _provider.GetRequiredService<RootCommand>();
18 references to _command
Aspire.Cli.Tests (18)
Commands\ParseResultHelperTests.cs (18)
101var parseResult = _command.Parse(commandLine); 114var parseResult = _command.Parse(["run", "--capture-profile-output", relativePath]); 126var parseResult = _command.Parse(["run", "--capture-profile-output", ""]); 138var parseResult = _command.Parse(["run", "--capture-profile-output=--"]); 194var parseResult = _command.Parse(["run", "-d", "--isolated"]); 208var parseResult = _command.Parse( 219var childParseResult = _command.Parse(["run", .. forwardedArguments.Tokens]); 233var parseResult = _command.Parse(["run", "--debug", "--secret", "value"]); 243var childParseResult = _command.Parse(["run", .. forwardedArguments.Tokens]); 255var parseResult = _command.Parse(["run", "--ApiKey", "sk-live-secret"]); 266var parseResult = _command.Parse(["run", "--debug", "--secret", "value"]); 276var parseResult = _command.Parse(["run", "--", "--ApiKey", "secret"]); 286var parseResult = _command.Parse(["add", "Aspire.Hosting.Redis"]); 294var parseResult = _command.Parse(["run", "--apphost", "path/to/App.csproj"]); 302Assert.Equal(string.Empty, ParseResultHelper.GetLoggableArguments(_command.Parse([]))); 306Assert.Equal(string.Empty, ParseResultHelper.GetLoggableArguments(_command.Parse([_command.Name]))); 312var parseResult = _command.Parse(["run", "--apphost", "same-value", "--", "same-value"]);