Skip to content

CGP: add Install the CLI page (#cli)#219

Merged
LindsayAuch merged 1 commit into
gh-pagesfrom
LindsayAuch/cgp-cli-page
Jul 23, 2026
Merged

CGP: add Install the CLI page (#cli)#219
LindsayAuch merged 1 commit into
gh-pagesfrom
LindsayAuch/cgp-cli-page

Conversation

@LindsayAuch

Copy link
Copy Markdown
Contributor

Adds a dedicated Install the CLI page to the Code Genome Project prototype (code-genome-project.html), reachable from the nav and at #cli. Built entirely from existing Morpheus components/tokens — light + dark, responsive (hamburger + stacked).

The page

  • Hero — "Install the CLI", supporting copy, the unauthenticated curl … getmod.sh | sh command in a prominent Morpheus code block with one-click Copy (copied text matches exactly), and a "No token or sign-in required" status callout that explicitly separates the CLI download from the artifact-repository token flow.
  • Inspect the script first — the getmod.sh URL shown separately (open/inspect before running) + an info callout.
  • Direct downloads — a per-platform table (macOS · Linux x86-64 · Linux aarch64 · Windows · JVM jar) linking into the public artifact repo, matching the published moderne-cli-* artifacts.
  • Where it's published & what it uses — Maven Central + Cogenom; default recipe source (Maven Central); the token-gated licensed-repo config using the real, tested command mod config recipes artifacts maven add https://artifacts.codegenomeproject.org/maven --user=<email> --password=<token> (per codegenomeproject#71), with a link to the pre-filled setup page; and per-tenant getmod.sh.
  • Verifymod --version.

Also in this diff

  • Fixes the artifact-repo host to artifacts.codegenomeproject.org/maven on both the CLI and Artifacts pages (was repo.…).
  • Carries the previously-unpublished landing-narrative restructure (two grouped sections + scroll cue), which hadn't been merged to gh-pages.

Preview after merge: https://moderneinc.github.io/prototypes/code-genome-project.html#cli

New Install-the-CLI page (nav item + #cli route): hero with the unauthenticated
curl getmod.sh install command and one-click copy; a "no token required" status
callout that separates the CLI download from the artifact-repository token flow;
an inspect-the-script section exposing the getmod.sh URL; a per-platform direct
download table (macOS / Linux x64 / Linux aarch64 / Windows / JVM jar) linking
into the public artifact repo; publishing + default-recipe-source details with
the token-gated "mod config recipes artifacts maven add … --user --password"
command and a link to the pre-filled setup page; and a version-check. Built from
existing Morpheus components/tokens; light + dark; responsive.

Also carries the previously-unpublished landing narrative restructure (two grouped
sections) and fixes the artifact-repo host to artifacts.codegenomeproject.org/maven
on both the CLI and Artifacts pages.
@cursor

cursor Bot commented Jul 23, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

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