You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,8 @@ Developer CLI for the Javabin platform, written in Go.
8
8
main.go Entrypoint — calls cmd.Execute()
9
9
cmd/
10
10
root.go Cobra root command, registers subcommands
11
-
register.go Interactive app registration wizard
11
+
init.go Interactive app scaffolding wizard
12
+
register.go Interactive team registration wizard
12
13
status.go Project status (costs, ECS services)
13
14
whoami.go Show AWS + GitHub identity
14
15
internal/
@@ -33,7 +34,8 @@ internal/
33
34
34
35
| Command | What it does |
35
36
|---------|-------------|
36
-
|`javabin register`| Interactive wizard — prompts for repo, team, auth, budget; creates a registration PR against `javaBin/registry` via GitHub API |
37
+
|`javabin register-team`| Interactive wizard — prompts for team name, description, members (google + github), and budget; creates a team registration PR against `javaBin/registry` (`teams/{name}.yaml`) |
38
+
|`javabin init`| Interactive wizard — scaffolds a new app repo from `javaBin/app-template`, writes `app.yaml`, `Dockerfile`, and deploy workflow, then prints next steps for adding the repo to a GitHub team |
37
39
|`javabin status`| Shows month-to-date cost (Cost Explorer) and ECS service status. Infers project from git remote or accepts `--project` flag |
38
40
|`javabin whoami`| Shows AWS identity (STS GetCallerIdentity) and GitHub user (gh API) |
39
41
@@ -59,4 +61,4 @@ Releases are built with GoReleaser on semver tags. Binaries go to GitHub Release
59
61
## Related
60
62
61
63
-[javaBin/platform](https://github.com/javaBin/platform) — infrastructure the CLI queries
62
-
-[javaBin/registry](https://github.com/javaBin/registry) — where `javabin register` creates PRs
64
+
-[javaBin/registry](https://github.com/javaBin/registry) — where `javabin register-team` creates PRs
Copy file name to clipboardExpand all lines: README.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,26 @@ go install github.com/javaBin/javabin-cli@latest # Go toolchain
11
11
12
12
## Commands
13
13
14
-
### `javabin register`
14
+
### `javabin register-team`
15
15
16
-
Interactive wizard to register a new app with the platform. Creates a PR against [javaBin/registry](https://github.com/javaBin/registry).
16
+
Interactive wizard to register a new team with the platform. Prompts for team name, description, members (Google handle + GitHub username), and optional budget. Creates a PR against [javaBin/registry](https://github.com/javaBin/registry) with `teams/{name}.yaml`.
17
+
18
+
After your team is created, add repos to your GitHub team:
19
+
20
+
```bash
21
+
gh api orgs/javaBin/teams/TEAM/repos -f owner=javaBin -f repo=REPO -f permission=push
22
+
```
23
+
24
+
```bash
25
+
javabin register-team
26
+
```
27
+
28
+
### `javabin init`
29
+
30
+
Interactive wizard to scaffold a new app repo from the Javabin app template. Creates the repo under `javaBin/`, writes `app.yaml`, `Dockerfile`, and a deploy workflow, then prints next steps for adding the repo to your GitHub team.
0 commit comments