Skip to main content

Authentication

ardent login

Opens your browser to authenticate with GitHub or email.
ardent login

ardent logout

Clears stored credentials.
ardent logout

ardent status

Check your authentication status.
ardent status
✓ Logged in as [email protected]
  Organization: Ardent

Connectors

ardent connector create

Connect a Postgres database. Ardent replicates your data during initial setup — this may take a few minutes depending on data size. After setup, branches create in under 6 seconds regardless of data size.
ardent connector create postgresql postgresql://user:password@host:5432/mydb
✓ Connector created
  Replicating database... this may take a few minutes depending on data size.
  Once complete, branches will create in under 6 seconds.
BYOC (Neon):
ardent connector create postgresql --byoc neon --api-key <key> --project-id <id>

ardent connector list

List all connected databases.
ardent connector list
ID          TYPE         STATUS     HOST
conn_01     postgresql   healthy    db.example.com:5432

ardent connector delete

Remove a connected database.
ardent connector delete conn_01
✓ Connector deleted

Branches

ardent branch create

Create a new isolated database branch. Automatically switches to it and returns the connection URL.
ardent branch create my-feature
✓ Branch created
  Name:   my-feature
  URL:    postgresql://user:[email protected]:5432/db
  Status: active

ardent branch list

List all branches. The current branch is marked with *.
ardent branch list
NAME          STATUS      CREATED
* my-feature  active      2 minutes ago
  staging     suspended   3 hours ago

ardent branch info

Show details and connection URL for a branch.
ardent branch info my-feature
Name:    my-feature
URL:     postgresql://user:[email protected]:5432/db
Status:  active
Created: 2 minutes ago

ardent branch switch

Switch to a different branch.
ardent branch switch staging
✓ Switched to staging

ardent branch diff

See what changed since the branch was created.
ardent branch diff
Tables modified: 2
  users    +15 rows, -0 rows, ~3 modified
  orders   +0 rows, -2 rows, ~0 modified

ardent branch delete

Delete a branch. Note: branches auto-suspend after 5 minutes of inactivity, so cleanup is optional.
ardent branch delete my-feature
✓ Branch deleted: my-feature

Team management

ardent invite

Invite a user to your organization.
ardent invite [email protected]
✓ Invite sent to [email protected]

ardent invite list

List pending invites.
ardent invite list
EMAIL                STATUS     SENT
[email protected]    pending    1 hour ago

ardent invite delete

Revoke a pending invite.
ardent invite delete [email protected]
✓ Invite revoked for [email protected]

ardent org members

List organization members.
ardent org members
NAME     EMAIL                ROLE
Vikram   [email protected]   admin
Alice    [email protected]    member

ardent org set-role

Update a member’s role.
ardent org set-role [email protected] admin
✓ Updated [email protected] to admin

ardent org remove

Remove a member from the organization.
ardent org remove [email protected]
✓ Removed [email protected] from organization