Fusozay Var Var: A CLI tool for quick text template rendering
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
Amelia A e6ae610d2d
Flags support to define templates
pirms 2 mēnešiem
test_files Inital version works! pirms 8 mēnešiem
.gitignore Inital version works! pirms 8 mēnešiem
LICENSE Inital version works! pirms 8 mēnešiem
Makefile Update pirms 8 mēnešiem
README.md Inital version works! pirms 8 mēnešiem
go.mod Finally simplify pirms 3 mēnešiem
main.go Flags support to define templates pirms 2 mēnešiem
main_test.go Flags support to define templates pirms 2 mēnešiem

README.md

fvv - Fusozay Var Var

A CLI tool for quick text template rendering

Fusozay Var Var means "have fun" It is a reference to something I see a lot

Fusozay Var Var is a CLI application for quickly rendering out text templates. I often write outfit and character descriptions that reuses a lot of elements. This allows me to DRY up my descriptions and still quickly get results.

Template requirements:

  • All the templates must be valid golang templates.
  • They must not require any variables to be passed in.
  • All templates must have the '.tmpl' extension. All other files ignored.
  • The template you want to render must be named definitions.

Usage

All errors go to stderr so you can pipe this to something like pbcopy

  1. Set up a quantity of templates
  2. run fvv <template definition> from directory containing template(s)