CLI Guide
The boominjs package ships both a browser SDK and a CLI.
npx boominjs --helpEvery command supports -h and --help.
npx boominjs loginThe CLI creates a short-lived login session, opens Boomin in your browser, and waits for approval. This is the same pattern used by tools like Wrangler: credentials are granted in the browser, not typed into the terminal.
npx boominjs initinit logs in if needed, selects or creates an organization and creator program, ensures a Creator Connect public key exists, appends local origins, and writes .env.local.
Useful flags:
npx boominjs init --yesnpx boominjs init --dry-runnpx boominjs init --origin http://localhost:3000npx boominjs init --program-name "Launch Creator Program"Status and logout
Section titled “Status and logout”npx boominjs statusnpx boominjs status --jsonnpx boominjs logoutScopes
Section titled “Scopes”npx boominjs scopesnpx boominjs scopes --jsonnpx boominjs scopes explain units:createPlatform smoke
Section titled “Platform smoke”npx boominjs platform smoke --read-only --token sk_boomin_live_...npx boominjs platform smoke --write --cleanup --token sk_boomin_live_...npx boominjs platform smoke --all-scopes --cleanup --jsonAgents should prefer --json when they need machine-readable output.
--all-scopes creates a temporary all-scope token when no token is passed, executes every V1 scope through the Platform scope executor, cleans up created smoke objects when --cleanup is present, and revokes the temporary token.