Created
April 30, 2019 19:26
-
-
Save javierfernandes/06c9ab33cc5dbf97ef0e6e6c419bb9ea to your computer and use it in GitHub Desktop.
Alexa utils scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # get the current skill id | |
| SKILL_ID=`cat .ask/config | grep skill_id | awk '{ print $2 }' | sed -e 's#"\([^"]*\)",#\1#g'` | |
| # get model from current skill | |
| ask api get-model -s ${SKILL_ID} -l "en-US" | |
| # update local changes to model to the server | |
| ask api update-model -s ${SKILL_ID} -l "en-US" -f models/en-US.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment