1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Example configuration for the opcda-bridge client.
#
# Copy this file to one of the locations below (or pass a path explicitly
# with --config) to have it picked up automatically. Every key is
# optional — anything left out (or the whole file, if it doesn't exist)
# falls back to its environment variable or built-in default.
#
# Precedence for every setting: CLI flag > environment variable > config
# file > built-in default.
#
# Default file locations (first one found wins):
# Linux/macOS: $XDG_CONFIG_HOME/opcda-bridge/client.toml
# (falls back to $HOME/.config/opcda-bridge/client.toml)
# Windows: %APPDATA%\opcda-bridge\client.toml
# Gateway address to connect to.
# CLI flag: --host
# Env var: OPC_BRIDGE_HOST
# Default: localhost:7600
= "localhost:7600"
# Default OPC DA server ProgID for browse/read/write, used when --server
# is omitted. Unlike the other keys, there is no built-in default — if
# this is unset and --server is omitted, the command errors.
# CLI flag: --server
= "Kepware.KepServerEX.V5"
# Cap on the number of tags a `browse` streams back.
# CLI flag: --max-tags
# Default: 1000
= 1000
# Output format: "table" (human-readable, default) or "json" (pretty-printed,
# for scripting/piping into jq). --json is shorthand for --output json.
# CLI flag: --output / --json
# Env var: OPC_BRIDGE_OUTPUT
# Default: table
= "table"