base generator with askama templating, toml config and json writing

This commit is contained in:
2025-12-01 18:19:15 +01:00
commit bdfa359702
8 changed files with 1918 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
json_output = "answers.json"
[[fields]]
name = "full_name"
description = "Your full name"
answer_type = "text"
[[fields]]
name = "age"
description = "Your age"
answer_type = "number"
[[fields]]
name = "email"
description = "Your email address"
answer_type = "email"
[[fields]]
name = "password"
description = "Set a password"
answer_type = "password"
[[fields]]
name = "website"
description = "Personal website (optional)"
answer_type = "url"
[[fields]]
name = "about_you"
description = "Tell us about yourself"
answer_type = "textarea"
[[fields]]
name = "contact_number"
description = "Phone number"
answer_type = "tel"
[[fields]]
name = "favorite_color"
description = "Favorite color (text)"
answer_type = "text"