Skip to content

Home

jig

Render project templates — no hooks, no code execution. Templates are data: inert directories of Go text/template files plus a jig.json manifest declaring the variables to prompt for.

Install

brew install cliwright/cliwright/jig

or with Go:

go install github.com/cliwright/jig/cmd/jig@latest

Quick start

Render a template, prompting for its declared variables:

jig render python/std/lib --templates-dir ./templates --output ./libs

Scaffold a new template to author your own:

jig new python/std/lib --templates-dir ./templates

Templates are addressed <language>/<flavor>/<kind> and versioned (v1, v2, …) — the latest renders unless --version says otherwise.