Azure/azure-functions-core-tools

Nodejs v4 new function cli response

オープン

#3,383 opened on 2023/06/04

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (491 件のフォーク)auto 404
area: templatesenhancementgood first issue

Repository metrics

Stars
 (1,456 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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: ...                                                                                     

コントリビューターガイド