opcda-bridge-client 0.2.7

OPC DA cross-platform client
Documentation
# 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
host = "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
server = "Kepware.KepServerEX.V5"

# Cap on the number of tags a `browse` streams back.
# CLI flag: --max-tags
# Default: 1000
max_tags = 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
output = "table"