generated from kyma-project/template-repository
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 25
 
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Milestone
Description
Description
Adjust function init command to the latest changes in function create
Is:
kyma function init --runtime nodejs22
Functions files of runtime nodejs22 initialized to dir ...
Next steps:
* update output files in your favorite IDE
* create Function, for example:
  kyma function create nodejs22 --runtime nodejs22 --source handler.js --dependencies package.json
Should be
kyma function init --runtime nodejs (or kyma function init  nodejs )
Functions files of runtime nodejs initialized to dir ...
Next steps:
* update output files in your favorite IDE
* create Function, for example:
  kyma function create nodejs my-function --source handler.js --dependencies package.json
Reasons
Improve consistency and eliminate confusion in the hints displayed to the user after kyma init command invocation:
Acceptance Criteria
-  
function initshould either have subcommandsnodejsandpython, or accept those as--runtimeflag -  
function initshould not "reintroduce" versions that are included in runtime names -  hints after 
function initare compatible with thefunction create 
Related Issues
#1891
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.