Implemented interface member:
property
ParseResult
Microsoft.TemplateEngine.Cli.Commands.ICommandArgs.ParseResult
1 write to ParseResult
Microsoft.TemplateEngine.Cli (1)
Commands\GlobalArgs.cs (1)
20
ParseResult
= parseResult;
53 references to ParseResult
Microsoft.TemplateEngine.Cli (51)
Commands\BaseCommand.cs (2)
90
string usedCommandAlias = args.
ParseResult
.CommandResult.IdentifierToken.Value;
97
Reporter.Output.WriteCommand(Example.For<InstantiateCommand>(args.
ParseResult
).WithArgument(InstantiateCommand.ShortNameArgument, usedCommandAlias));
Commands\create\InstantiateCommand.cs (9)
281
ParseResult updatedParseResult = args.
ParseResult
.RootCommandResult.Command.Parse(
282
args.
ParseResult
.Tokens.Select(t => t.Value).ToArray(),
283
args.
ParseResult
.Configuration);
474
? Example.For<InstantiateCommand>(instantiateArgs.
ParseResult
).WithArgument(ShortNameArgument, possibleMatch)
475
: Example.For<NewCommand>(instantiateArgs.
ParseResult
).WithArgument(NewCommand.ShortNameArgument, possibleMatch);
501
Example 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)
145
IEnumerable<string> tokens = args.
ParseResult
.Tokens.Select(t => $"'{t.Value}'");
155
.For<NewCommand>(args.
ParseResult
)
Commands\GlobalArgs.cs (1)
26
protected GlobalArgs(GlobalArgs args) : this(args.Command, args.
ParseResult
) { }
Commands\install\LegacyInstallCommand.cs (1)
27
PrintDeprecationMessage<LegacyInstallCommand, InstallCommand>(args.
ParseResult
);
Commands\list\LegacyListCommand.cs (1)
36
PrintDeprecationMessage<LegacyListCommand, ListCommand>(args.
ParseResult
);
Commands\search\LegacySearchCommand.cs (1)
33
PrintDeprecationMessage<LegacySearchCommand, SearchCommand>(args.
ParseResult
);
Commands\uninstall\LegacyUninstallCommand.cs (1)
25
PrintDeprecationMessage<LegacyUninstallCommand, UninstallCommand>(args.
ParseResult
);
Commands\update\LegacyUpdateApplyCommand.cs (1)
27
PrintDeprecationMessage<LegacyUpdateApplyCommand, UpdateCommand>(args.
ParseResult
);
Commands\update\LegacyUpdateCheckCommand.cs (1)
27
PrintDeprecationMessage<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
)
152
Reporter.Output.WriteLine(LocalizableStrings.TemplateInformationCoordinator_DotnetNew_Description, Example.For<NewCommand>(args.
ParseResult
));
156
Reporter.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)
264
args.
ParseResult
,
333
commandArgs.
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)
162
Assert.NotNull(args.
ParseResult
);
165
Assert.Equal("val", args.
ParseResult
.GetValue(customOption));