Compare commits

..

2 Commits

Author SHA1 Message Date
jolheiser 5e15502da0
chore: fix main template
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-07-05 16:50:51 -05:00
jolheiser ac63841684
Change to tmplkeep
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-11-02 23:00:02 -05:00
4 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
# .gitignore Template # tmpl templates
A basic .gitignore template for [tmpl](https://git.jojodev.com/jolheiser/tmpl) Check out the various branches for some basic examples of templates.
## License ## License

8
template/.gitignore vendored
View File

@ -1,8 +0,0 @@
# GoLand
.idea/
{{if ne .binary "" -}}
# Binaries
/{{.binary}}
/{{.binary}}.exe
{{- end}}

View File

@ -0,0 +1 @@
Delete this file and put something else here!

View File

@ -1,4 +1,11 @@
# tmpl.yaml
# Write any template args here to prompt the user for, giving any defaults/options as applicable
prompts: prompts:
- id: binary - id: name
label: Binary Name label: Name
help: Leave blank if this is a library default: MyProject
- id: lang
label: Language
default: Go