✨ Add verify and certify commands to alexa cli plugin #1637
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
This gives the developer an easy way to validate and certify their alexa skill by utilizing the information already present in the project configuration (like skillId, askProfile and so on). This is especially helpful if the project has many skills (we have one jovo app handling over 40 skills), where doing this manually is quite tedious.
I was not really sure about how to name this. The alexa cli so far has no commands, only hooks. If this is interesting to you, would this have to be platform independent, like
jovo validate:platform alexa
instead of how it is currentlyjovo validate:alexa
?If some of the information should be different, or the project config is not complete, there is the possibility to override those, however in the context of jovo, I think it will be most useful when it takes most information from jovo, e. g.
jovo certify:alexa --stage dev
I also included some documentation and heavily tested these two commands with all kinds of falg / configs, it seems to work great in my tests!
Please let me know, if you think this could be useful for Jovo!
Types of Changes
Checklist