tmpls @main -
refs -
log -
-
https://git.jolheiser.com/tmpls.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmKo5OsACgkQuFOtpdp7
v3p4LA/8C5thU9EovwWgSD1S2eBU0SoYFCKQDP6kvcAjyCnyivdBqQbJPiJgmrmz
diqoijRZk9/KKqZNFHf47Vs2U1/jrIrjNFNnh0QmUTyKm7nv5TE+NkRRtMkZP0Sg
NvBQwm6pgHTHufmmzbeTfOSoLsNTIXcr1KZyaYIUfvfI4tcSf9vKZhzvOuay2fjW
PWeaIwe639RWMucoU27qZkyzRsogIAbq6RC/9hN54GNGCoJo1+i0ALZppr0pWEn7
3eyTR/mLMXR0qkRinWJaVFHLq8B6INeWUxhTUtQrIHGyCJSAHGUE481R9PrIdpDe
Jq240X1vomcDBV9wLFeasACxqVZwYGoU5Iw23PrHyQD04Bi67BHLMJqXgXN174hP
Ttqt8rYh7cG6Ol/8PcAu1xWrImJuveqtLEWgc9JDAIdg3vRpMjdM6Z/7+kxnx5U0
JOL1LYad1pqGDcAgZeda7KV36u1d8BWX9CkGmbnFX+NOiZNSzdTpP52yz8iq77yl
Mo66kT2z3jkb4qC9Vm4tX0Uk1kLWWrk+EUdVBZnceC4RM45+JIkcfkSErh89hhw1
4b7nA0CTPSRi87KADqEva9sDlzktStgWj0966PXRWbPLJc0suKLzy9XodxVHVbX1
DiGfQ/H8TWkqhJU2K7QRrOJ6w3coVyexMKSxNgMzYaoR588KtdU=
=a3tX
-----END PGP SIGNATURE-----
diff --git a/template.toml b/template.toml
deleted file mode 100644
index 3e9ae3092d676dd927ea250318fc1178a7cc889f..0000000000000000000000000000000000000000
--- a/template.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[binary]
-prompt = "Binary name (leave blank if this is a library)"
\ No newline at end of file
diff --git a/template/.gitignore b/template/.gitignore
index 34f123086aef5102b374a0203ec8e3876f3c1fc8..1dadff8237fecc49b4c2d6603a3828f217c5ca32 100644
--- a/template/.gitignore
+++ b/template/.gitignore
@@ -1,8 +1,8 @@
# GoLand
.idea/
-{{if ne .binary ""}}
+{{if ne .binary "" -}}
# Binaries
/{{.binary}}
/{{.binary}}.exe
-{{end}}
\ No newline at end of file
+{{- end}}
\ No newline at end of file
diff --git a/tmpl.yaml b/tmpl.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..4667afd1be56c5148efa55668ce53165b989b1b3
--- /dev/null
+++ b/tmpl.yaml
@@ -0,0 +1,4 @@
+prompts:
+ - id: binary
+ label: Binary Name
+ help: Leave blank if this is a library
\ No newline at end of file