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