tpl

command module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 13 Imported by: 0

README

tpl

Tiny interactive template generator using go text/template.

Usage

$ cat template.tpl
Hello {{ input "name"}} !!
You can select {{ file }}.

$ tpl -f template.tpl
> name: John Doe
> file: testdata/example.tpl

Hello John Doe !!
You can select testdata/example.tpl.

TODO

  • Add functions to edit filepath
  • Add help for functions

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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