Run Options Save
run_options_saveSave and confirm all run option answers after questions, validating types, choices, and dependencies before writing settings to config.toml, app.spec.json, or the pending app scaffold file.
Instructions
Save the user's answers to the run options and mark options confirmed.
Use when: after asking every question from run_options. Validates types, choices and dependencies; services go to config.toml, the rest to app.spec.json (or a pending file that app_scaffold applies). Returns: {ok, saved, errors?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | Yes | Map {option id: value} covering every option id returned by run_options. | |
| app_dir | No | App directory whose app.spec.json receives the answers; omit to save to the pending file used by app_scaffold. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||