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

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

@habuma

Description

@habuma

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions