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.
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.