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
39
40
41
42
43
44
45
46
47
48
# 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 capabilities/browse/search/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"
# Number of immediate children requested in each browse page.
# CLI flag: browse --page-size
# Default: 200
= 200
# Total-result safety cap for the explicitly expensive `browse --all` mode.
# CLI flag: browse --all --max-results
# Default: 10000
= 10000
# Maximum matches returned by `search`.
# CLI flag: search --max-results
# Default: 200
= 200
# 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"