caster

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2023 License: MIT

README

caster

filesystem templating in go

getting started

Caster is distributed as a single binary. You can download the latest version from the github releases page

You can either place caster in a system path or add the location to your system path.

You can also install caster with go install

git clone https://github.com/patrickhuber/caster
cd caster/cmd/caster
go install

creating a template

A template is just a directory with a .caster.yml or .caster.json file at its root that describes the template.

The .caster file has no required fields

See the hello world example here for a sample hello world caster example.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL