Commit Graph

29 Commits (main)
 

Author SHA1 Message Date
jolheiser 4981a14e14 add sprig (#26)
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
Resolves #25

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: #26
5 months ago
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
10 months ago
jolheiser c348255c37 Load env on download (#23)
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: #23
10 months ago
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
10 months ago
jolheiser 4987bf8aed Add goreleaser (#21)
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
Reviewed-on: #21
10 months ago
jolheiser fe9dd61580 Fix gitea release plugin (#20)
continuous-integration/woodpecker the build was successful Details
Reviewed-on: #20
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
1 year ago
jolheiser 1713f353f3 Fix token (#19)
continuous-integration/woodpecker the build failed Details
Reviewed-on: #19
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
1 year ago
jolheiser d9564663db Update and move to woodpecker (#18)
continuous-integration/woodpecker the build failed Details
Reviewed-on: #18
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
1 year ago
John Olheiser c173eee38c Explain .tmplkeep (#17)
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/17
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-committed-by: John Olheiser <john.olheiser@gmail.com>
2 years ago
John Olheiser c497431a52 Add .tmplkeep (#16)
Resolves #15

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/16
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-committed-by: John Olheiser <john.olheiser@gmail.com>
2 years ago
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>
2 years ago
John Olheiser 19edb3a580 Add env and restore commands (#11)
Add env and restore commands

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

Check for existance

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

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/11
Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
2 years ago
John Olheiser 7121333290 Small tweaks (#10)
Small tweaks

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

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/10
Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
2 years ago
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>
2 years ago
John Olheiser 47ef9ea0be Fix CI (#8)
Update '.drone.yml'

Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/8
Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
2 years ago
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>
2 years ago
John Olheiser 6dc75436fc Add CI (#6)
Rename check to vet

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

Parallel compliance

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

Update lint and move back to arm64 for compliance

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

Releases and tags

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

Move checks to amd64

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

Add CI

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

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/6
Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
2 years ago
jolheiser 0b0de4be35
Docs overhaul, path expansion, more tests, better prompts
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser ff2f159802
Fix docs and list commands
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser 1c516ad3db
More tests and env variables
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser dc19c1b993
Don't make variables required
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser cae16cdbdc
Add helpers, tests, and refactor download vs save
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser 5e164b9bb9
Fix tab writers
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser c01d965ad7
Fix TOML tags
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser aee847f018
Add README
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser b56d99226d
Re-format license using tmpl-license repo
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser e4342f9a04
Sort map keys for consistency
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser c5bf199b84
Add CLI docs
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago
jolheiser 6de6e4ef70
Initial Commit
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2 years ago