---
version: "v1.0.6"
category: "experiments-updated"
---

#### `catalog-redesign` — Interactive scaffold form on `s`

Pressing `s` from the catalog list or detail view now opens an in-TUI form that prompts for every variable/value the selected component exposes. The form is modal: in navigate mode `j` and `k` (or the arrow keys) move between fields and `enter` interacts with the focused one. Required entries are flagged, and optional entries show their default in a muted style until the user opts in.

`enter` on a text or HCL field switches the form into edit mode. Typing edits the value in place; `esc` returns to navigate. Only fields the user actually changes get written to the generated file, and optional defaults stay implicit, so the result is leaner than the placeholder flow.

`enter` on a boolean field toggles between `[x] true` and `[ ] false` directly, without a separate edit mode.

`x` on an optional field marks it "use default" again, removing any in-progress value and leaving the source's default to apply.

Complex types (lists, maps, objects) accept raw HCL and are validated before the file is written, so a typo surfaces inline rather than producing a broken `terragrunt.hcl` or `terragrunt.values.hcl` file.

`ctrl+d` finishes the form. Required fields the user never set still write as `# TODO: fill in value` so the rest of the file is usable.

`S` (capital) keeps the previous placeholder-only flow, generating the same TODO-laden file as before for users who prefer to populate values by editing the generated file.
