Skip to content

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

Interface: ProtoSyncOptions ​

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

Options for the proto sync pipeline.

Properties ​

dryRun? ​

optional dryRun?: boolean

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

Show what would be synced without generating


from ​

from: string

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

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


out ​

out: string

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

Output directory for generated types


template? ​

optional template?: string

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

Path to custom buf.gen.yaml template


timeoutMs? ​

optional timeoutMs?: number

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

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