Compare commits

..

4 Commits

Author SHA1 Message Date
jolheiser 7c0714e47e
Update template
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2022-06-14 14:43:39 -05:00
jolheiser 98a05d3d1d
Update repo
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-11-02 23:03:33 -05:00
John Olheiser d71e8fa684 Better prompt 2020-11-22 13:29:46 +08:00
jolheiser d47e82ceae
Initial .gitignore commit
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-11-18 11:40:53 -06:00
4 changed files with 13 additions and 13 deletions

View File

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

8
template/.gitignore vendored 100644
View File

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

View File

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

View File

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