axiomdb-cli
v0.1.10
Published
AxiomDB CLI — multi-branch Postgres database management from your terminal
Maintainers
Readme
AxiomDB CLI
Fast terminal control for AxiomDB projects, branches, Prisma URLs, network access, metrics, backups, audit, and secrets.
Install
npm install -g axiomdb-cliThe package exposes axm for speed and keeps axiom for compatibility.
Sign in
axm login
axm -liThe CLI opens Square IdP in your browser and uses OAuth 2.0 with PKCE. If the loopback callback cannot complete, paste the authorization code or the full redirect URL back into the terminal.
◒ Complete sign-in in browser…
◇ Paste the authorization code or full redirect URL:
◇ AxiomDB OAuth completeDaily flow
axm projects list
axm projects use "Square Experience"
axm branches list
axm branches create --name feature-auth --lifespan 7d
axm branches urls --name feature-auth
axm network allow --current
axm dashboardBranch URLs are Prisma-ready:
DATABASE_URL="postgresql://[email protected]:6432/<branch-db>?sslmode=require"
DIRECT_URL="postgresql://[email protected]:5432/<branch-db>?sslmode=require"Shortcuts
axm -li
axm -pr -ls
axm -br -url --name feature-auth
axm -ne add --current
axm -da
axm -g -tk --branch feature-auth