Commit Graph

8 Commits (4e1852bdbda56cf2534c3bece629d91f5c47b4d3)

Author SHA1 Message Date
jolheiser 44de3c2376 chore: survey -> huh (#30)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: #30
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
2023-12-20 04:07:47 +00:00
jolheiser 400fb64254 Prompt types (#29)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: #29
2023-08-20 20:01:58 +00:00
jolheiser d02502078f Add options support (#24)
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
<!--
1. Did you add documentation?
2. Did you add tests?
3. Do you need to re-run formatting?
4. Do you need to re-run docs.go?
-->

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: #24
2022-06-15 14:59:21 +00:00
jolheiser 07ccb51584 Major changes (#22)
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
1. Switch from TOML to YAML (oof)
2. Add a JSON schema for templates (anti-oof)
3. Add functionality for prompt defaults to be based on earlier prompt answers
4. Add env commands and setting/loading for tmpl-specific env
5. Use a more helpful testing library

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: #22
2022-06-14 19:59:53 +00:00
John Olheiser d4c47101ab Allow sourcing prompt answers from env variables (#14)
Fixes #12

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/14
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-committed-by: John Olheiser <john.olheiser@gmail.com>
2020-12-29 11:21:41 +08:00
John Olheiser 36832f93de Better defaults and prompts (#9)
Add true bools and better defaults, fix map/funcmap differences

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/9
Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
2020-11-24 14:10:46 +08:00
John Olheiser 6ffc50dc06 Expand the template.toml file (#7)
Expand the template.toml file

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/7
Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
2020-11-23 13:02:16 +08:00
jolheiser 0b0de4be35
Docs overhaul, path expansion, more tests, better prompts
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-11-21 23:25:24 -06:00