1 write to ParseResult
System.CommandLine (1)
Completions\CompletionContext.cs (1)
22ParseResult = parseResult;
10 references to ParseResult
dotnet (3)
Commands\Package\PackageCommandParser.cs (3)
47var allowPrerelease = context.ParseResult.GetValue(def.PrereleaseOption); 54if (context.ParseResult.GetValue(def.PackageIdArgument) is { HasVersion: false } packageId) 57var allowPrerelease = context.ParseResult.GetValue(def.PrereleaseOption);
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);