Azure/azure-functions-core-tools

Nodejs v4 new function cli response

Offen

#3.383 geöffnet am 04.06.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C# (491 Forks)auto 404
area: templatesenhancementgood first issue

Repository-Metriken

Stars
 (1.456 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide