DEPRECATION WARNING
Amazon have now released an API for skills management.
Please use that instead.
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/ask-cli-intro
Alexa Skills Toolkit
Some handy tools to manage Amazon Alexa skills
Currently allows you to fetch and update the skills code. i.e. Intents,
Utterances and slots.
It utilises your Chrome cookies to authenticate, so you need to log into
https://developer.amazon.com first.
Installation
yarn install alexa-skills-toolkit
Usage
Shell
alexa-skills-toolkit --action getcode --appId amzn1.echo-sdk-ams.app.XXX
alexa-skills-toolkit --action updatecode --appId amzn1.echo-sdk-ams.app.XXX --data file.json
API
import * as ast from 'alexa-skills-toolkit';
const data = ast.getCode(appId);
ast.updateCOde(appId, data);
Development
After checking out the repo, run npm test
to run the tests.
To release a new version:
This will run the tests, update the version, create a git tag for the version, push git commits and tags. Publish the module file to npmjs.com.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/echohubio/alexa-skills-toolkit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the ISC License.