-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Enrich nix flake init with parameters
- Initial spec Enrich
nix flake initwith parameters #5 - Final spec, based on feedback (@roberth, etc.)
Considerations for parameters
Currently, the parameters introduced in #5 do a simple placeholder replacement across files (content & filename). But we may also need other kinds of substitutions, viz.:
- Do we need boolean type? Add boolean parameter #9
- e.g.: "Add VSCode settings?" -> YES means
.vscode/*is included in the generated folder. Same for.github/workflowsand such. Real-world case: feat: Add haskell-template #8
- e.g.: "Add VSCode settings?" -> YES means
Other considerations:
- Should params be ordered, by using a list type, so the prompts appear in sensible order? Make
paramsa list, to preserve order #10 - Add
tagsfield; Addtagsproperty to templates #11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request