CLI

Installation

Install the Commet CLI

Installing Commet CLI

Requires Node.js 18+.

Install

pnpm add -g commet
npm install -g commet
yarn global add commet

Verify:

commet --version

Setup

Authenticate

commet login

Select environment (Sandbox/Production) and authenticate in browser.

cd your-project
commet link

Select your organization.

Generate Types

commet pull

Creates .commet/types.d.ts with your event and seat types.

Update

pnpm update -g commet
npm update -g commet
yarn global upgrade commet

How is this guide?