运行 dotnet new 时显示可用的模板参数
我想在运行命令 dotnet new MyTemplate
时查看所有可用的模板参数。
我该怎么做呢?我知道当我错过一些必需的参数时我就会看到它
I want to see all available template parameters when I run command dotnet new MyTemplate
.
How can I do it? I know when I miss some required param then I see it
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
添加
- 帮助
到结尾。这显示了该模板的特定帮助信息。
- 帮助
可以在dotnet
命令的其他级别上使用。Add
--help
to the end.This shows the specific help information for that template.
--help
can be used on other levels ofdotnet
commands.continue
You can do
-l
or--list
to see all available templates:In general if you want to know the available options for a command you can call the help: