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