Skip to content

Commit 776b27e

Browse files
authored
Add native Go CLI foundation (#103)
* Add native Go CLI foundation - Add an experimental Go CLI shell with list, init, and start validation. - Seed the Go service registry from the current TypeScript runtime contract. - Cover the initial CLI and registry behavior with Go tests. * Fix native Go foundation review issues * Fix Go subcommand help exit codes * Reject unexpected Go CLI arguments * Fix native list service formatting * Fix native Go CLI review issues * Fix native Go CLI help output
1 parent 7bc8bf7 commit 776b27e

7 files changed

Lines changed: 845 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,19 @@ jobs:
2424
node-version: 22
2525
cache: pnpm
2626

27+
- uses: actions/setup-go@v5
28+
with:
29+
go-version-file: go.mod
30+
cache: true
31+
2732
- run: pnpm install --frozen-lockfile
2833

2934
- run: pnpm build
3035

36+
- run: go test ./...
37+
38+
- run: go build ./cmd/emulate
39+
3140
- run: node scripts/sync-versions.mjs --check
3241

3342
- run: pnpm format:check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules/
22
dist/
3+
/emulate
34
*.tsbuildinfo
45
.turbo/
56
.pnpm-store/

0 commit comments

Comments
 (0)