Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

bst init for ASK CLI v2.0.x #645

Open
habuma opened this issue Apr 14, 2020 · 1 comment
Open

bst init for ASK CLI v2.0.x #645

habuma opened this issue Apr 14, 2020 · 1 comment

Comments

@habuma
Copy link

habuma commented Apr 14, 2020

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 /lambda relative to the project root (formerly at /lambda/custom. Relative to the test/unit directory, 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 the test/unit directory, 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?)
@dmarvp
Copy link
Contributor

dmarvp commented Apr 21, 2020

hi @habuma, thanks for reaching out and letting us know of these changes, we really appreciate it. Our efforts are currently more on the e2e side of things so we cannot provide a timeline for this. That said, we'd gladly review a PR if you want to send us one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants