Implemented interface member:
property
ParseResult
Microsoft.TemplateEngine.Cli.Commands.ICommandArgs.ParseResult
1 write to ParseResult
Microsoft.TemplateEngine.Cli (1)
Commands\GlobalArgs.cs (1)
20ParseResult = parseResult;
53 references to ParseResult
Microsoft.TemplateEngine.Cli (51)
Commands\BaseCommand.cs (2)
90string usedCommandAlias = args.ParseResult.CommandResult.IdentifierToken.Value; 97Reporter.Output.WriteCommand(Example.For<InstantiateCommand>(args.ParseResult).WithArgument(InstantiateCommand.ShortNameArgument, usedCommandAlias));
Commands\create\InstantiateCommand.cs (9)
281ParseResult updatedParseResult = args.ParseResult.RootCommandResult.Command.Parse( 282args.ParseResult.Tokens.Select(t => t.Value).ToArray(), 283args.ParseResult.Configuration); 474? Example.For<InstantiateCommand>(instantiateArgs.ParseResult).WithArgument(ShortNameArgument, possibleMatch) 475: Example.For<NewCommand>(instantiateArgs.ParseResult).WithArgument(NewCommand.ShortNameArgument, possibleMatch); 501Example example = Example.For<NewCommand>(instantiateArgs.ParseResult).WithSubcommand(possibleMatch); 518.For<NewCommand>(instantiateArgs.ParseResult) 527.For<NewCommand>(instantiateArgs.ParseResult) 539.For<NewCommand>(instantiateArgs.ParseResult)
Commands\create\InstantiateCommand.Help.cs (2)
218.For<NewCommand>(args.ParseResult) 253.For<NewCommand>(args.ParseResult)
Commands\create\InstantiateCommand.NoMatchHandling.cs (2)
145IEnumerable<string> tokens = args.ParseResult.Tokens.Select(t => $"'{t.Value}'"); 155.For<NewCommand>(args.ParseResult)
Commands\GlobalArgs.cs (1)
26protected GlobalArgs(GlobalArgs args) : this(args.Command, args.ParseResult) { }
Commands\install\LegacyInstallCommand.cs (1)
27PrintDeprecationMessage<LegacyInstallCommand, InstallCommand>(args.ParseResult);
Commands\list\LegacyListCommand.cs (1)
36PrintDeprecationMessage<LegacyListCommand, ListCommand>(args.ParseResult);
Commands\search\LegacySearchCommand.cs (1)
33PrintDeprecationMessage<LegacySearchCommand, SearchCommand>(args.ParseResult);
Commands\uninstall\LegacyUninstallCommand.cs (1)
25PrintDeprecationMessage<LegacyUninstallCommand, UninstallCommand>(args.ParseResult);
Commands\update\LegacyUpdateApplyCommand.cs (1)
27PrintDeprecationMessage<LegacyUpdateApplyCommand, UpdateCommand>(args.ParseResult);
Commands\update\LegacyUpdateCheckCommand.cs (1)
27PrintDeprecationMessage<LegacyUpdateCheckCommand, UpdateCommand>(args.ParseResult, additionalOption: UpdateCommand.CheckOnlyOption);
TemplateListCoordinator.cs (9)
78.For<NewCommand>(args.ParseResult) 123.For<NewCommand>(args.ParseResult) 131.For<NewCommand>(args.ParseResult) 152Reporter.Output.WriteLine(LocalizableStrings.TemplateInformationCoordinator_DotnetNew_Description, Example.For<NewCommand>(args.ParseResult)); 156Reporter.Output.WriteLine(LocalizableStrings.TemplateInformationCoordinator_DotnetNew_TemplatesHeader, Example.For<NewCommand>(args.ParseResult)); 166.For<NewCommand>(args.ParseResult) 174.For<NewCommand>(args.ParseResult) 182.For<NewCommand>(args.ParseResult) 188.For<NewCommand>(args.ParseResult)
TemplatePackageCoordinator.cs (11)
264args.ParseResult, 333commandArgs.ParseResult, 645.For<InstallCommand>(args.ParseResult) 745.For<NewCommand>(commandArgs.ParseResult) 753.For<NewCommand>(commandArgs.ParseResult) 763.For<NewCommand>(commandArgs.ParseResult) 772.For<NewCommand>(commandArgs.ParseResult) 845.For<NewCommand>(args.ParseResult) 850.For<NewCommand>(args.ParseResult) 857.For<NewCommand>(args.ParseResult) 922.For<NewCommand>(args.ParseResult)
TemplatePackageDisplay.cs (4)
268.For<NewCommand>(args.ParseResult) 304.For<NewCommand>(args.ParseResult) 309.For<NewCommand>(args.ParseResult) 316.For<NewCommand>(args.ParseResult)
TemplateSearch\CliTemplateSearchCoordinator.cs (5)
96.For<NewCommand>(commandArgs.ParseResult) 102.For<NewCommand>(commandArgs.ParseResult) 260.For<NewCommand>(commandArgs.ParseResult) 266.For<NewCommand>(commandArgs.ParseResult) 272.For<NewCommand>(commandArgs.ParseResult)
Microsoft.TemplateEngine.Cli.UnitTests (2)
ParserTests\MiscTests.cs (2)
162Assert.NotNull(args.ParseResult); 165Assert.Equal("val", args.ParseResult.GetValue(customOption));