BMCLI database
命令名、参数与机器可读字段保持英文,以便直接复制到终端或交给 AI 使用;当前安装版本的精确契约请以
bmcli help ... --format=json为准。
Persistent lifecycle for typed engineering database resources. database owns
registration, validation, discovery, and removal; protocol-specific operations
remain under dbc, ldf, and future database categories. Resources are stored
in the per-user BMCLI state directory and remain available to later processes.
database load
Section titled “database load”Validate and register a DBC, LDF, A2L, or mapping file. The type is inferred
from the extension unless --type is supplied. The default resource name is
the filename stem. Loading the same canonical path again is idempotent.
bmcli database load --file=network.dbc --name=vehiclebmcli database load --file=body.ldf --name=body-lindatabase unload
Section titled “database unload”bmcli database unload vehiclebmcli database unload --alldatabase list / info / validate
Section titled “database list / info / validate”bmcli database list --format=jsonbmcli database list --type=dbc --format=jsonbmcli database info vehicle --format=jsonbmcli database validate --file=network.dbc --format=jsonbmcli database validate vehicle --format=jsonvalidate --file does not change registry state. info and validation of a
registered resource re-open the source file, so stale or damaged paths fail
instead of returning cached parser metadata.
权威来源: bmcli_reference.md in the BMCLI repository. Run bmcli help <category> <action> --format=json for the exact contract of the installed version.