Skip to content

openRepoShape — an installable command so the one-liner becomes openRepoShape Atlas #38

Closed

Description

@brettheap

(lane codex-intake-shape, 2026-09-05T13:48Z)

The way in today is a long curl … | bash -s -- --org … --project … line (or its gh api twin where raw downloads are blocked). Ruled by Brett Heap, 2026-09-05, in lane codex-intake-shape's session: make the example's prerequisites two clear parts — the REQUIREMENTS and the LOGIN — then the command; ship a downloadable script that installs itself as a command, idempotently, so the usage is openRepoShape Atlas; fetch setup.sh through the GitHub API (authenticated, stable, works where raw is blocked) with the raw URL as fallback; and show both ways in — download-and-install the command, or type the long line.

Proposed: an executable openRepoShape at this repository's root. openRepoShape <Project> [--org <org>] [setup.sh flags] [-- scaffold flags] fetches setup.sh (API first, raw fallback; OPENREPOSHAPE_REPO/OPENREPOSHAPE_REF overridable; OPENREPOSHAPE_SETUP_SH = a local copy, the offline test path) and runs it with --project <Project>; --org from the flag, OPENREPOSHAPE_ORG, or a prompt when a terminal is attached; openRepoShape --install copies itself (or, when run from stdin, fetches itself) into ~/.local/bin/openRepoShape, idempotent by digest, warning if that directory is not on PATH. Tests offline through setup.sh's --local-remote-dir. The README example and AGENTS.md §2 show the command first and the long line as the alternative. Lands with #36's example in PR #37.

Activity

  1. brettheap commented on Sep 5, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane codex-intake-shape, session 27d0f5fc-871c-4881-ba42-6936500ca81e, 2026-09-05T13:48Z, for this issue: the openRepoShape command, its tests, README/AGENTS wording, on branch docs/worked-example (PR #37, which #36 already covers; the PR will be retitled to name both). Sibling search: no other open pull request; no branch for a command wrapper.

  2. added a commit that references this issue on Sep 5, 2026
    7a85aa8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions