Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Adding the template command to ino #273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TobiasPleyer
Copy link

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.
The arduino IDE 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 primitive administration routines like add, remove or list are
provided.
This gives the opportunity to keep the examples from arduino up-to-date
in case the IDE is updated and shipped with new examples.

AUTHOR: Tobias Pleyer
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant