1 write to ParseResult
System.CommandLine (1)
Completions\CompletionContext.cs (1)
22
ParseResult
= parseResult;
8 references to ParseResult
Aspire.Cli.Tests (1)
Commands\CompletionsCommandTests.cs (1)
178
Assert.Equal(projectPath, context.
ParseResult
.GetValue(project));
Microsoft.TemplateEngine.Cli (5)
Commands\BaseCommand.cs (3)
97
if (context.
ParseResult
== null)
101
var args = new GlobalArgs(context.
ParseResult
);
102
using IEngineEnvironmentSettings environmentSettings = CreateEnvironmentSettings(args, context.
ParseResult
);
Commands\create\InstantiateCommand.TabCompletion.cs (1)
111
InstantiateCommandArgs instantiateArgs = ParseContext(context.
ParseResult
);
Commands\NewCommand.cs (1)
27
InstantiateCommandArgs instantiateCommandArgs = InstantiateCommandArgs.FromNewCommandArgs(ParseContext(context.
ParseResult
));
System.CommandLine (2)
Command.cs (1)
310
if (context.IsEmpty || context.
ParseResult
.GetResult(parentCommand) is not null)
Completions\TextCompletionContext.cs (1)
41
new(
ParseResult
, CommandLineText, position);