tty
tty copied to clipboard
Documentation for template usage
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!
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