Compare commits

...

7 Commits

Author SHA1 Message Date
jolheiser d2a649fb22 chore: update year 2023-02-02 04:21:59 +00:00
jolheiser 1f004b25e5
Update template
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2022-06-14 14:41:28 -05:00
jolheiser 828c2c91f2
Update repo
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-11-02 23:00:58 -05:00
jolheiser 712b33e785 Update 'template.toml' 2021-11-03 03:58:23 +00:00
jolheiser d11f12f382 Update 'LICENSE' 2021-11-03 03:57:55 +00:00
John Olheiser 4b225ff4e4 Use template expansion for default 2020-11-23 13:11:21 +08:00
jolheiser 33ac9662e7
Initial License
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-11-18 11:29:39 -06:00
6 changed files with 29 additions and 10 deletions

View File

@ -1,4 +1,4 @@
Copyright (c) 2020 John Olheiser Copyright (c) 2021 John Olheiser
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -1,6 +1,6 @@
# tmpl templates # License Template
Check out the various branches for some basic examples of templates. A basic License template for [tmpl](https://git.jojodev.com/jolheiser/tmpl)
## License ## 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"]

View File

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

19
template/LICENSE 100644
View File

@ -0,0 +1,19 @@
Copyright (c) {{year}} {{name}}
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

7
tmpl.yaml 100644
View File

@ -0,0 +1,7 @@
prompts:
- id: name
label: Name
default: $USER
- id: year
label: Year
default: "2023"