piotrmurach / tty

Toolkit for developing sleek command line apps.
https://ttytoolkit.org
MIT License
2.5k stars 78 forks source link

Documentation for template usage #68

Open jellybob opened 4 years ago

jellybob commented 4 years ago

I'm currently building a CLI with Teletype, which so far I'm loving - great work on the user experience of getting from zero to a decent CLI tool!

One thing that's not at all clear is how to make use of templates. Every command seems to generate a sub-directory in templates/, which I presume is meant to have a bunch of Erb files dropped in it or something, but there's no documentation I can find on how to actually make use of those templates!

piotrmurach commented 4 years ago

Hi Jon 👋

Thanks for using tty! You're right about the intention behind templates. This functionality isn't documented as it is not implemented yet. Adding templates generation was the first step but then I simply run out of steam. There is a plan on where this tool is going explained here: https://github.com/piotrmurach/tty/issues/50#issuecomment-593937127