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)
101
var parseResult =
_command
.Parse(commandLine);
114
var parseResult =
_command
.Parse(["run", "--capture-profile-output", relativePath]);
126
var parseResult =
_command
.Parse(["run", "--capture-profile-output", ""]);
138
var parseResult =
_command
.Parse(["run", "--capture-profile-output=--"]);
194
var parseResult =
_command
.Parse(["run", "-d", "--isolated"]);
208
var parseResult =
_command
.Parse(
219
var childParseResult =
_command
.Parse(["run", .. forwardedArguments.Tokens]);
233
var parseResult =
_command
.Parse(["run", "--debug", "--secret", "value"]);
243
var childParseResult =
_command
.Parse(["run", .. forwardedArguments.Tokens]);
255
var parseResult =
_command
.Parse(["run", "--ApiKey", "sk-live-secret"]);
266
var parseResult =
_command
.Parse(["run", "--debug", "--secret", "value"]);
276
var parseResult =
_command
.Parse(["run", "--", "--ApiKey", "secret"]);
286
var parseResult =
_command
.Parse(["add", "Aspire.Hosting.Redis"]);
294
var parseResult =
_command
.Parse(["run", "--apphost", "path/to/App.csproj"]);
302
Assert.Equal(string.Empty, ParseResultHelper.GetLoggableArguments(
_command
.Parse([])));
306
Assert.Equal(string.Empty, ParseResultHelper.GetLoggableArguments(
_command
.Parse([
_command
.Name])));
312
var parseResult =
_command
.Parse(["run", "--apphost", "same-value", "--", "same-value"]);