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