Fusozay Var Var: A CLI tool for quick text template rendering
Reviewed-on: #4 Co-authored-by: Renovate Bot <renovate@onlyhavecans.works> Co-committed-by: Renovate Bot <renovate@onlyhavecans.works> |
||
|---|---|---|
| .forgejo/workflows | ||
| test_files | ||
| .gitignore | ||
| .golangci.yaml | ||
| .goreleaser.yaml | ||
| go.mod | ||
| Justfile | ||
| LICENSE | ||
| main.go | ||
| main_test.go | ||
| README.md | ||
| renovate.json | ||
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 text pre-processor 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:
- The template must be valid golang templates.
- The template must not require any variables to be passed in.
- The template must not be a named definition.
Usage
All errors go to stderr, so it can work as a preprocessor or be piped to pbcopy.
- Set up a golang template
- run
fvv < <template file>