My Notebook
#golang#cli#programming#fun#project
1

Templater

2020-06-09 · 1 min readA fast, easy way to organize and share code templates.After working with Go for a while, I decided to hunker down and write a production level CLI for fun. Lo and behold came templater. Templater is a really cool CLI for storing, loading, and creating code templates. Its as easy as
plate create name
and then you have created a template! Then with simple GitHub OAuth, you can upload the template easily, and view it on the website at https://tmpltr.now.sh or just download it through the CLI. The best part is that when uploading, it saves the file structure and README.md, so that you can check out some basics of what it is before you download it. Another thing I tried to do with this project is proper git etiquette (PR's, Versions, Badges, Unit Tests etc.) and it turned out pretty great, where I learned a bit about shields, and how to configure GitHub actions. Check out the GitHub at https://github.com/neelr/templater and be sure to leave a star! Also, please try out the CLI easily with
  1. go get github.com/neelr/templater/cmd/plate
  2. go install github.com/neelr/templater/cmd/plate
Thanks for reading! Liked the story? Click the heart
Created with ☕ by @neelr