Azure/azure-functions-core-tools

Nodejs v4 new function cli response

Aperta

#3383 aperta il 4 giu 2023

 (1 commento) (0 reazioni) (0 assegnatari)C# (491 fork)auto 404
area: templatesenhancementgood first issue

Metriche repository

Star
 (1456 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor