15 references to ShortNameArgument
Microsoft.TemplateEngine.Cli (15)
Commands\create\InstantiateCommand.cs (1)
475
: Example.For<NewCommand>(instantiateArgs.ParseResult).WithArgument(NewCommand.
ShortNameArgument
, possibleMatch);
Commands\create\InstantiateCommand.Help.cs (2)
219
.WithArgument(NewCommand.
ShortNameArgument
, templateGroup.ShortNames[0])
254
.WithArgument(NewCommand.
ShortNameArgument
, templateGroup.ShortNames[0])
Commands\create\InstantiateCommand.NoMatchHandling.cs (1)
156
.WithArgument(NewCommand.
ShortNameArgument
, templateGroup.ShortNames[0]);
Commands\list\LegacyListCommand.cs (1)
22
parentCommand.AddNoLegacyUsageValidators(this, except: Filters.Values.Concat(new Symbol[] { ColumnsAllOption, ColumnsOption, NewCommand.
ShortNameArgument
}).ToArray());
Commands\list\ListCommandArgs.cs (1)
20
string? newCommandArgument = parseResult.GetValue(NewCommand.
ShortNameArgument
);
Commands\NewCommand.Legacy.cs (4)
50
IEnumerable<Argument> argumentsToVerify = new Argument[] {
ShortNameArgument
, RemainingArguments };
71
ValidateArgumentUsage(commandResult,
ShortNameArgument
);
76
ValidateArgumentUsage(commandResult,
ShortNameArgument
, RemainingArguments);
138
Arguments.Add(
ShortNameArgument
);
Commands\search\LegacySearchCommand.cs (1)
19
parentCommand.AddNoLegacyUsageValidators(this, except: Filters.Values.Concat(new Symbol[] { ColumnsAllOption, ColumnsOption, NewCommand.
ShortNameArgument
}).ToArray());
Commands\search\SearchCommandArgs.cs (1)
20
string? newCommandArgument = parseResult.GetValue(NewCommand.
ShortNameArgument
);
TemplateInvoker.cs (1)
271
.WithArgument(NewCommand.
ShortNameArgument
, templateArgs.Template.ShortNameList[0])
TemplateListCoordinator.cs (2)
167
.WithArgument(NewCommand.
ShortNameArgument
, "console"));
175
.WithArgument(NewCommand.
ShortNameArgument
, "console")