Azure / Azure/azure-functions-core-tools

Command `func templates list` returns invalid templates

Open
#2,955 11 comments 17 reactions 1 assignee Claimed by @soninaren View on GitHub
area: templates needs-investigation
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
4d 20h
Merged PRs (30d)
14

Description

The templates returned from `func templates list` are not valid as input for `func new`'s `--template` parameter.

`func templates list --language dotnet` returns (amongst others) the template 'Azure Service Bus Topic trigger'.

Using the output in `func new --template 'Azure Service Bus Topic trigger'` will result in an error `Unknown template 'AzureServiceBusTopictrigger' (Parameter 'templateName')`.

Instead `Service Bus Topic trigger` needs to be used.

Version `4.0.3971`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.