vars: implement prompts

This commit is contained in:
DavHau
2024-07-22 15:31:55 +07:00
parent a2c4130ebe
commit 0acf9178c8
4 changed files with 115 additions and 85 deletions

View File

@@ -108,8 +108,9 @@ in
Prompts are available to the generator script as files.
For example, a prompt named 'prompt1' will be available via $prompts/prompt1
'';
default = { };
type = attrsOf (submodule {
options = {
options = options {
description = {
description = ''
The description of the prompted value