Implemented interface member:
property
ParseResult
Microsoft.TemplateEngine.Cli.Commands.ICommandArgs.ParseResult
1 write to ParseResult
Microsoft.TemplateEngine.Cli (1)
Commands\GlobalArgs.cs (1)
24ParseResult = parseResult;
49 references to ParseResult
Microsoft.TemplateEngine.Cli (49)
Commands\BaseCommand.cs (2)
121string usedCommandAlias = args.ParseResult.CommandResult.IdentifierToken.Value; 129var example = Example.For<InstantiateCommand>(args.ParseResult).WithArguments(usedCommandAlias);
Commands\create\InstantiateCommand.cs (9)
252ParseResult updatedParseResult = args.ParseResult.RootCommandResult.Command.Parse( 253args.ParseResult.Tokens.Select(t => t.Value).ToArray(), 254args.ParseResult.Configuration); 445? Example.For<InstantiateCommand>(instantiateArgs.ParseResult).WithArguments(possibleMatch) 446: Example.For<NewCommand>(instantiateArgs.ParseResult).WithArguments(possibleMatch); 472Example example = Example.For<NewCommand>(instantiateArgs.ParseResult).WithSubcommand(possibleMatch); 489.For<NewCommand>(instantiateArgs.ParseResult) 498.For<NewCommand>(instantiateArgs.ParseResult) 510.For<NewCommand>(instantiateArgs.ParseResult)
Commands\create\InstantiateCommand.Help.cs (2)
219.For<NewCommand>(args.ParseResult) 254.For<NewCommand>(args.ParseResult)
Commands\create\InstantiateCommand.NoMatchHandling.cs (2)
146IEnumerable<string> tokens = args.ParseResult.Tokens.Select(t => $"'{t.Value}'"); 156.For<NewCommand>(args.ParseResult)
Commands\create\InstantiateCommandArgs.cs (3)
71public Command NewOrInstantiateCommand => ParseResult.CommandResult.Command; 75? new(firstToken, rest, newCommandArgs.ParseResult) 76: new(shortName: null, remainingArgs: [], newCommandArgs.ParseResult);
Commands\install\LegacyInstallCommand.cs (1)
16PrintDeprecationMessage<LegacyInstallCommand, InstallCommand>(args.ParseResult);
Commands\list\LegacyListCommand.cs (1)
16PrintDeprecationMessage<LegacyListCommand, ListCommand>(args.ParseResult);
Commands\search\LegacySearchCommand.cs (1)
16PrintDeprecationMessage<LegacySearchCommand, SearchCommand>(args.ParseResult);
Commands\uninstall\LegacyUninstallCommand.cs (1)
16PrintDeprecationMessage<LegacyUninstallCommand, UninstallCommand>(args.ParseResult);
Commands\update\LegacyUpdateApplyCommand.cs (1)
16PrintDeprecationMessage<LegacyUpdateApplyCommand, UpdateCommand>(args.ParseResult);
Commands\update\LegacyUpdateCheckCommand.cs (1)
16PrintDeprecationMessage<LegacyUpdateCheckCommand, UpdateCommand>(args.ParseResult, additionalNewOptionSelector: c => c.Definition.CheckOnlyOption);
TemplateListCoordinator.cs (9)
79.For<NewCommand>(args.ParseResult) 124.For<NewCommand>(args.ParseResult) 132.For<NewCommand>(args.ParseResult) 153Reporter.Output.WriteLine(LocalizableStrings.TemplateInformationCoordinator_DotnetNew_Description, Example.For<NewCommand>(args.ParseResult)); 157Reporter.Output.WriteLine(LocalizableStrings.TemplateInformationCoordinator_DotnetNew_TemplatesHeader, Example.For<NewCommand>(args.ParseResult)); 167.For<NewCommand>(args.ParseResult) 175.For<NewCommand>(args.ParseResult) 183.For<NewCommand>(args.ParseResult) 189.For<NewCommand>(args.ParseResult)
TemplatePackageCoordinator.cs (7)
261args.ParseResult, 330commandArgs.ParseResult, 642.For<InstallCommand>(args.ParseResult) 742.For<NewCommand>(commandArgs.ParseResult) 750.For<NewCommand>(commandArgs.ParseResult) 760.For<NewCommand>(commandArgs.ParseResult) 769.For<NewCommand>(commandArgs.ParseResult)
TemplatePackageDisplay.cs (4)
269.For<NewCommand>(args.ParseResult) 305.For<NewCommand>(args.ParseResult) 310.For<NewCommand>(args.ParseResult) 317.For<NewCommand>(args.ParseResult)
TemplateSearch\CliTemplateSearchCoordinator.cs (5)
97.For<NewCommand>(commandArgs.ParseResult) 103.For<NewCommand>(commandArgs.ParseResult) 261.For<NewCommand>(commandArgs.ParseResult) 267.For<NewCommand>(commandArgs.ParseResult) 273.For<NewCommand>(commandArgs.ParseResult)