ck update db
Updates an existing Databases node in the current measurement setup.
Synopsis
ck update db
<DATABASES_NAME_OR_ID>
[--url <String>]
[--api-key <String>]
[--language <en|zh|ja>]
[-n|--name <NODE_NAME>]
[-d|--databases <DATABASE_FILE>...]
ck update db -h|--help
Arguments
DATABASES_NAME_OR_ID
The name or identifier of the Databases node to update.
Options
--url
Specify the URL of the CanKingService if connecting to a remote host. Falls back to the CANKING_REMOTE_URL environment variable. If not specified, the command will connect to a local CanKingService instance.--api-key
API key required when connecting to a remote CanKingService instance. Falls back to the CANKING_REMOTE_API_KEY environment variable.--language
Specify the preferred language to be used in all output strings. Default value is English (en). Supported languages are English (en), Chinese (zh), and Japanese (ja).-n|--name
New name for the node.-d|--databases
Replaces the database files. Both DBC files and LDF files are supported.
Examples
ck update db "CAN Databases" --databases database1.dbc database2.ldf
ck update db 2073f340-b9d7-a55c-cc18-b4e1c43dfc2f --name "My Databases"
ck update db "CAN Databases" --name "Updated Databases" --databases newfile.dbc