CLI

Configuration

Commet CLI configuration files

Files

FileCreated byPurpose
~/.commet/auth.jsoncommet loginGlobal auth credentials
.commetcommet linkProject organization settings
.commet/types.d.tscommet pullGenerated TypeScript types

Environments

Two isolated environments:

  • Sandbox (sandbox.commet.co) - Development
  • Production (commet.co) - Live billing

To switch:

commet logout
commet login  # Select different environment
commet link

Git

Commit .commet/types.d.ts for consistent types across the team. The .commet/ folder itself is auto-added to .gitignore by commet pull.

How is this guide?