This repository has been archived by the owner on Aug 27, 2021. It is now read-only.
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.
Templates are an important starting point for beginners and nice to have for frequently used schemes. Ino is still a bit sparse on templates, the arduino IDE however is already shipping with a lot of builtin examples. The most logical thing would be to make those available to ino as well. Copying these by hand is tedious and error prone. Thus the command
ino template --update
will try to fetch these from the arduino install directory and put them
in the templates folder.
Further it would be nice to add your own templates via a controlled manner instead of copying them into the templates directory located in your local Python installation.
Therefore primitive administration routines have been created:
add: Add one or more directories as templates
remove: Remove one or more already existing templates
list: List all available templates for a quick overview
This also gives the opportunity to keep the examples from arduino up-to-date in case the IDE is updated and shipped with new examples.