4 instantiations of InstantiateCommandArgs
Microsoft.TemplateEngine.Cli (4)
Commands\create\InstantiateCommand.cs (1)
161
protected override InstantiateCommandArgs ParseContext(ParseResult parseResult) =>
new
(this, parseResult);
Commands\create\InstantiateCommand.Help.cs (1)
94
InstantiateCommandArgs instantiateCommandArgs =
new
(this, context.ParseResult);
Commands\create\InstantiateCommandArgs.cs (2)
75
?
new
(firstToken, rest, newCommandArgs.ParseResult)
76
:
new
(shortName: null, remainingArgs: [], newCommandArgs.ParseResult);
28 references to InstantiateCommandArgs
Microsoft.TemplateEngine.Cli (28)
Commands\create\InstantiateCommand.cs (14)
18
internal partial class InstantiateCommand : BaseCommand<
InstantiateCommandArgs
, NewCreateCommandDefinition>, ICustomHelp
40
return ExecuteIntAsync(
InstantiateCommandArgs
.FromNewCommandArgs(newCommandArgs), environmentSettings, templatePackageManager, parseResult, cancellationToken);
54
InstantiateCommandArgs
args,
93
internal static void HandleNoMatchingTemplateGroup(
InstantiateCommandArgs
instantiateArgs, IEnumerable<TemplateGroup> templateGroups, IReporter reporter)
150
InstantiateCommandArgs
instantiateArgs,
161
protected override
InstantiateCommandArgs
ParseContext(ParseResult parseResult) => new(this, parseResult);
164
InstantiateCommandArgs
instantiateArgs,
240
InstantiateCommandArgs
args,
343
InstantiateCommandArgs
args,
368
InstantiateCommandArgs
args,
397
InstantiateCommandArgs
args,
425
private static void SuggestTypoCorrections(
InstantiateCommandArgs
instantiateArgs, IEnumerable<TemplateGroup> templateGroups, IReporter reporter)
482
private static void WriteListCommandExample(
InstantiateCommandArgs
instantiateArgs, IReporter reporter)
503
private static void WriteSearchCommandExample(
InstantiateCommandArgs
instantiateArgs, IReporter reporter)
Commands\create\InstantiateCommand.Help.cs (4)
20
public static void WriteHelp(HelpContext context,
InstantiateCommandArgs
instantiateCommandArgs, IEngineEnvironmentSettings environmentSettings)
94
InstantiateCommandArgs
instantiateCommandArgs = new(this, context.ParseResult);
188
internal static void ShowHintForOtherTemplates(TemplateGroup templateGroup, CliTemplateInfo preferredtemplate,
InstantiateCommandArgs
args, TextWriter writer)
336
InstantiateCommandArgs
instantiateCommandArgs,
Commands\create\InstantiateCommand.NoMatchHandling.cs (3)
62
internal static List<TemplateResult> CollectTemplateMatchInfo(
InstantiateCommandArgs
args, IEngineEnvironmentSettings environmentSettings, TemplatePackageManager templatePackageManager, TemplateGroup templateGroup)
125
InstantiateCommandArgs
args,
171
private static void HandleNoMatchOnTemplateBaseOptions(IEnumerable<TemplateResult> matchInfos,
InstantiateCommandArgs
args, TemplateGroup templateGroup)
Commands\create\InstantiateCommand.TabCompletion.cs (2)
40
InstantiateCommandArgs
args,
111
InstantiateCommandArgs
instantiateArgs = ParseContext(context.ParseResult);
Commands\create\InstantiateCommandArgs.cs (1)
73
internal static
InstantiateCommandArgs
FromNewCommandArgs(NewCommandArgs newCommandArgs)
Commands\NewCommand.cs (2)
27
InstantiateCommandArgs
instantiateCommandArgs =
InstantiateCommandArgs
.FromNewCommandArgs(ParseContext(context.ParseResult));
Commands\NewCommand.Help.cs (2)
21
InstantiateCommandArgs
instantiateCommandArgs =
InstantiateCommandArgs
.FromNewCommandArgs(args);