Noteworthy Programming Masterpiece

    age-config

    2.0.1 • Public • Published

    AGE Config

    This reads _helper.yaml files in the AGE plugins and generates a json file from them in ./data/age-config.json. This json file can then be imported into the Alexa setup process.

    How to use

    Add this plugin to your AGE install using npm install age-config.

    Run the following command to generate the file from your AGE install:

    serverless age-config

    You'll need to add the following to src/config/config.yaml:

    config:
        invocation_name: age test

    This will pull any settings from all _helper.yaml files in plugins and from src/config. You'll need to create the src/config/_helper.yaml file if you don't have one, to describe what slots (types) have what values:

    For example, the following will create data for the slots command, credit, item, and object. Note that command is in a different format. This alternative format allows you to add synonyms to the slot values, so with below a jester can also be referred to as a clown, fool, or annoyance:

    slot_values:
        command:
            jester:
                - clown
                - fool
                - annoyance
            yes:
            no:
        credit:
            - Nick Stacey
        item:
            - brass key
        object:
            - door
            - west door
            - south door
            - north door
            - switch

    Install

    npm i age-config

    DownloadsWeekly Downloads

    6

    Version

    2.0.1

    License

    ISC

    Unpacked Size

    6.93 kB

    Total Files

    4

    Last publish

    Collaborators

    • dittto