@connectum/cli
Command-line scaffolding, service generation, package-version reporting, and reflection-based proto synchronization.
Install
bash
npm install -D @connectum/clibash
pnpm add -D @connectum/clibash
bun add -d @connectum/cliThe CLI keeps @bufbuild/protobuf, @connectrpc/connect and @connectrpc/connect-node as its own regular dependencies: it is an executable, so it is outside the single-copy guarantee that the runtime packages give through peer dependencies. That includes the FileRegistry exposed by @connectum/cli/utils/reflection.
Start Here
bash
npx @connectum/cli init payments
cd payments
npx @connectum/cli generate service invoices
npx @connectum/cli --versionKey Entry Points
| Entry point | Use it to |
|---|---|
connectum init | Create a service from the version-pinned official base. |
connectum generate service | Add a service contract and implementation. |
connectum proto sync | Discover and generate types from server reflection. |
Learn / Configure / API Reference
- Learn: Focused guide
- Configure: Task and configuration guidance
- API reference: Exact options and symbols
- Package API index: Generated TypeDoc
- Source: @connectum/cli on GitHub
Related Modules
Compare all Connectum packages by capability.