# AddPuristaQueueInput API

Input for generating a queue, its primary worker, and optional producer command.

---
Canonical: /handbook/api/types/_purista_cli.AddPuristaQueueInput/
Source: packages/cli/src/api/addPuristaQueue.ts
Format: Markdown for agents
---

Input for generating a queue, its primary worker, and optional producer command.

Package: `@purista/cli`

## Signature

```typescript
type AddPuristaQueueInput = void
```

## Members

### Properties

- `codeWriterOptions: Partial<Options>` — Optional formatting options passed to `code-block-writer`.
- `producer: QueueProducerOptions` — Optional producer command generated with queue enqueue permissions.
- `projectRootPath: string` — Project root path; defaults to `process.cwd()`.
- `puristaConfig: PuristaConfig` — PURISTA project configuration controlling generated paths and casing.
- `puristaProject: PuristaProjectInfo` — Discovered project metadata used to update the service composition.
- `queueDescription: string` — Human-readable queue description written into generated docs and tests.
- `queueName: string` — Logical queue name used by `getQueueBuilder`.
- `serviceName: string` — Service name that owns the generated queue.
- `serviceVersion: string` — Service version that owns the generated queue.
- `worker: QueueWorkerOptions` — Primary worker generated for the queue.
