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
5 changed files with 14 additions and 9 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

View File

@ -1,6 +0,0 @@
# template.toml
# Write any template args here to prompt the user for, giving any defaults/options as applicable
name = "MyProject"
lang = ["Go", "Rust", "Python"]

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!

4
tmpl.yaml 100644
View File

@ -0,0 +1,4 @@
prompts:
- id: binary
label: Binary Name
help: Leave blank if this is a library