Files
claude-code-skills-reference/scripts
daymade 920d4afb6e Fix installation scripts for non-interactive mode (piped from curl/iwr)
- Detect when stdin is not a terminal (piped input)
- Default to option 1 (skill-creator) in non-interactive mode
- Show helpful message about downloading for interactive use
- Prevents 'Invalid choice\!' error when piped from curl/iwr

This fixes the issue when users run:
  curl -fsSL https://...install.sh | bash
  iwr -useb https://...install.ps1 | iex

Tested with: echo "" | bash scripts/install.sh
2025-10-24 18:32:05 +08:00
..