Skip to content

seed-issues.sh exits with 'gh: command not found' on a fresh machine #16

Description

@zachlloyd

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

  1. Use a machine without gh installed (e.g. fresh macOS 14.5)
  2. Clone this repo
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions