Skip to content

demo: advance on Enter key instead of fixed PAUSE#8

Merged
trouze merged 1 commit into
mainfrom
feat/demo-enter-key
Apr 24, 2026
Merged

demo: advance on Enter key instead of fixed PAUSE#8
trouze merged 1 commit into
mainfrom
feat/demo-enter-key

Conversation

@trouze
Copy link
Copy Markdown
Owner

@trouze trouze commented Apr 24, 2026

Summary

Interactive Enter-to-advance for scripts/demo.sh — nicer for live narration. Read the section → press Enter when ready → command runs. The prompt hint (`↵`) is cleared after each input so the recording stays clean.

Usage

./scripts/demo.sh              # interactive: Enter advances each step (default)
AUTO=1 PAUSE=2 ./scripts/demo.sh   # non-interactive: 2s sleep per step
AUTO=1 PAUSE=0 ./scripts/demo.sh   # rapid dry-run (CI smoke)

Test plan

  • `AUTO=1 PAUSE=0 ./scripts/demo.sh` produces full output
  • `yes "" | ./scripts/demo.sh` fires all 8 sections (interactive mode with piped newlines)
  • `uv run pytest` — 57/57 pass
  • `uv run ruff check .` clean
  • `uv run mypy --strict src` clean

🤖 Generated with Claude Code

Interactive Enter-to-advance is nicer for live narration — you read
the section, press Enter when ready, command runs, repeat. The prompt
hint ("↵") is cleared after input so the recording stays clean.

AUTO=1 PAUSE=0 preserves the old rapid-dry-run behavior for CI smoke.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@trouze trouze merged commit 6eadbc9 into main Apr 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant