This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
bst init for ASK CLI v2.0.x #645
Copy link
Copy link
Open
Description
As of a week ago, ASK CLI v2.0.0 is now available (and v2.0.1 shortly thereafter). As a result, the new "hello world" template is based on a new project structure that requires some manual editing of testing.json after bst init. It would be great to have an option with bst init to produce a testing.json file that is geared toward the new project structure.
Recognizing that not all projects will be based on ASK CLI v2.0.x right away, and in the interest of not breaking backward compatibility, perhaps bst init could have an option flag that produces a testing.json to match the needs of the new template. Specifically:
- Skill fulfillment code is now in
/lambdarelative to the project root (formerly at/lambda/custom. Relative to thetest/unitdirectory, the "handler" property should be set to "../../lambda/index.js". - Interaction model JSON is now in
/skill-package/interactionModels/custom/relative to the project root (formerly at/models). Relative to thetest/unitdirectory, the "interactionModel" property should be set to "../../skill-package/interactionModels/custom/en-US.json" (I think...is there not a way to not specify a specific locale's interaction model and just specify the location?)
TomV
Metadata
Metadata
Assignees
Labels
No labels