Skip to content

mod command#16

Merged
charlesHetterich merged 7 commits intomainfrom
mod-cmd
Apr 17, 2026
Merged

mod command#16
charlesHetterich merged 7 commits intomainfrom
mod-cmd

Conversation

@charlesHetterich
Copy link
Copy Markdown
Collaborator

@charlesHetterich charlesHetterich commented Apr 17, 2026

Closes #3

try out dot mod utk-keys-demo.dot --clone

Screenshot 2026-04-17 at 1 00 57 AM Screenshot 2026-04-17 at 1 43 49 AM
  • Scrollable interactive list on dot mod
  • skips interactive table on dot mod <domain>
  • Forks if gh is logged into, otherwise clones. --clone to force clone

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 17, 2026

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/mod-cmd bash

@charlesHetterich charlesHetterich marked this pull request as draft April 17, 2026 04:23
…ne setup.

- Add interactive app browser (`AppBrowser.tsx`) with scrollable table, lazy-loading 10 apps at a time, arrow-key navigation, and progressive metadata fetching from IPFS
- Add setup flow (`SetupScreen.tsx`) with three steps: fetch metadata, fork/clone, run setup.sh — using reusable `StepRunner` component
- Add `StepRunner` UI component (`src/utils/ui/components/StepRunner.tsx`) — sequential step runner with spinner/✔/✖/! transitions and a live log box, reusable across commands
- Add git utilities (`src/utils/git.ts`) — `isGhAuthenticated()`, `forkAndClone()`, `cloneRepo()`, `runCommand()` with async streaming output
- Support both interactive (`dot mod`) and direct (`dot mod <domain>`) paths
- `--clone` flag skips GitHub fork and does a plain HTTPS clone
- `--no-install` skips setup.sh
…output.

- Show errors below the UI instead of inline with step name
- Stream real git/gh CLI output into the log box during fork/clone
- Capture stderr for meaningful error messages (e.g. "repository not found" instead of "exit 1")
- Fix table column alignment between header and data rows
- StepRunner `onDone` now returns `{ ok, error }` so parents can display full errors
…wn Ink programs during setup.sh. Set TERM=dumb/NO_COLOR/CI=1 on child processes to disable interactive rendering at the source, and strip residual ANSI escape codes as a safety net.
@charlesHetterich charlesHetterich marked this pull request as ready for review April 17, 2026 14:45
@charlesHetterich charlesHetterich merged commit 8616435 into main Apr 17, 2026
5 checks passed
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.

mod command

1 participant