Skip to content

Connectum API Reference / @connectum/cli / commands/proto-sync / ProtoSyncOptions

Interface: ProtoSyncOptions ​

Defined in: commands/proto-sync.ts:28

Options for the proto sync pipeline.

Properties ​

dryRun? ​

optional dryRun?: boolean

Defined in: commands/proto-sync.ts:36

Show what would be synced without generating


from ​

from: string

Defined in: commands/proto-sync.ts:30

Server URL (e.g., "http://localhost:5000")


out ​

out: string

Defined in: commands/proto-sync.ts:32

Output directory for generated types


template? ​

optional template?: string

Defined in: commands/proto-sync.ts:34

Path to custom buf.gen.yaml template


timeoutMs? ​

optional timeoutMs?: number

Defined in: commands/proto-sync.ts:38

Time limit of each reflection request in ms (positive integer; default 10 000).