Azure/azure-functions-core-tools

Nodejs v4 new function cli response

开放

#3,383 创建于 2023年6月4日

 (1 条评论) (0 个反应) (0 位负责人)C# (491 个派生)auto 404
area: templatesenhancementgood first issue

仓库指标

星标
 (1,456 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

When the CLI creates a new function for the Node.js v4 runtime, can the response include the command to create a new api which would be the next step? currently the response doesn't include it so I have to use the --help to figure it out on the CLI .

Currently it says:

core@MacBook-Pro-3 api-function-v4-from-cli % func init --worker-runtime node --model V4 --language typescript
The new Node.js programming model is in public preview. Learn more at https://aka.ms/AzFuncNodeV4
Writing package.json
Writing .funcignore
Writing tsconfig.json
Writing .gitignore
Writing host.json
Writing local.settings.json
Writing /Users/dina/repos/azure-samples/azure-typescript-e2e-apps/api-function-v4-from-cli/.vscode/extensions.json
Running 'npm install'...%                                                                                        

Proposing:

Currently it says:

core@MacBook-Pro-3 api-function-v4-from-cli % func init --worker-runtime node --model V4 --language typescript
The new Node.js programming model is in public preview. Learn more at https://aka.ms/AzFuncNodeV4
Writing package.json
Writing .funcignore
Writing tsconfig.json
Writing .gitignore
Writing host.json
Writing local.settings.json
Writing /Users/dina/repos/azure-samples/azure-typescript-e2e-apps/api-function-v4-from-cli/.vscode/extensions.json
Running 'npm install'...%   

Create your first API with the following command: ...                                                                                     

贡献者指南