Description
Running the seed script on a machine without the GitHub CLI installed fails with an unhelpful error instead of a clear message.
Steps to reproduce
- Use a machine without
gh installed (e.g. fresh macOS 14.5)
- Clone this repo
- Run
scripts/seed-issues.sh
Expected behavior
The script prints a clear error like "GitHub CLI (gh) is required: https://cli.github.com" and exits with code 1.
Actual behavior
scripts/seed-issues.sh: line 17: gh: command not found
Environment
- macOS 14.5, zsh 5.9
- Script run from repo root
Description
Running the seed script on a machine without the GitHub CLI installed fails with an unhelpful error instead of a clear message.
Steps to reproduce
ghinstalled (e.g. fresh macOS 14.5)scripts/seed-issues.shExpected behavior
The script prints a clear error like "GitHub CLI (gh) is required: https://cli.github.com" and exits with code 1.
Actual behavior
Environment