ContextStudioWizard/lib
Karamelmar 431e5493fc Fix set -e bug causing silent exit after valid input
- Replace all `[[ condition ]] && die` with `if/fi` — the && pattern
  exits silently when the condition is false under set -e
- Removed -e from set flags (kept -uo pipefail), all error paths are
  now explicit
- Declare `input` as local in ask/ask_yn/ask_choice to prevent leakage
- Use `read -r input || true` to handle EOF safely
- Fix ask_choice arithmetic to avoid (()) triggering exit on false

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 12:11:31 +01:00
..
core.sh Add Context Studio Wizard — project scaffolding CLI 2026-03-09 11:49:04 +01:00
prereqs.sh Fix set -e bug causing silent exit after valid input 2026-03-09 12:11:31 +01:00
project.sh Add Context Studio Wizard — project scaffolding CLI 2026-03-09 11:49:04 +01:00
utils.sh Fix set -e bug causing silent exit after valid input 2026-03-09 12:11:31 +01:00
workflow.sh Add Context Studio Wizard — project scaffolding CLI 2026-03-09 11:49:04 +01:00