Developer CLI for the Javabin platform.
brew install javaBin/tap/javabin # macOS/Linux via Homebrew
go install github.com/javaBin/javabin-cli@latest # Go toolchainInteractive 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 with teams/{name}.yaml.
After your team is created, add repos to your GitHub team:
gh api orgs/javaBin/teams/TEAM/repos -f owner=javaBin -f repo=REPO -f permission=pushjavabin register-teamInteractive 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: adding the repo to your GitHub team, javabin aws setup for AWS access, and javabin secret set for secrets after the first deploy.
javabin initShow project status: costs, ECS services, deployments.
javabin status # infers project from git remote
javabin status --project moresleepOne-time AWS setup — no hand-editing of ~/.aws/config. Requires the AWS CLI v2 (brew install awscli).
javabin aws setup # add SSO session, sign in, write a profile per role you have
javabin aws setup --dry-run # show what would change
javabin aws setup --no-login # reuse a valid SSO session
javabin aws doctor # check config, token and the profile `secret` would useIt adds an [sso-session javabin] block for javaBin's IAM Identity Center, runs aws sso login --sso-session javabin, then writes one profile per role you are assigned in account 553637109631. Profiles are named after the role: javabin-team-<team>, javabin-developer, javabin-admin, javabin-readonly. Existing profiles are never changed; the config is backed up to config.bak-<timestamp> first. javabin secret ... picks your team's profile automatically; elsewhere use --profile javabin-team-<team> or AWS_PROFILE. Sessions expire after ~8h: aws sso login --sso-session javabin.
Show current identity (AWS + GitHub).
javabin whoami- GitHub: Uses
gh auth tokenif available, orGITHUB_TOKEN/GH_TOKENenvironment variables - AWS: Standard credential chain (environment variables,
~/.aws/credentials, SSO). Runjavabin aws setuponce to get SSO profiles.
- No deploy, plan, apply, or generate commands — those run exclusively in CI
- No infrastructure management — use
app.yamland let the platform handle it
go build -o javabin .
./javabin --helpReleases are built with GoReleaser on semver tags. Binaries are published to GitHub Releases and the Homebrew tap.