ck add db

Adds a Databases node to the current measurement setup.

Synopsis

ck add db
    <DATABASE_FILE>...
    [--url <String>]
    [--api-key <String>]
    [--language <en|zh|ja>]
    [-n|--name <NODE_NAME>]
    [-p|--previous-node <PREVIOUS_NODE_ID_OR_NAME>]
    [--next-node <NEXT_NODE_ID_OR_NAME>]

ck add db -h|--help

Arguments

  • DATABASE_FILE
    The database files. Both DBC files and LDF files are supported.

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
    Name of the node. Default value is ‘CAN Databases’

  • -p|--previous-node
    Identifier/Name of the previous node when adding a new node to the measurement setup. Set either previous node or next node, not both.

  • --next-node
    Identifier/Name of the next node when adding a new node to the measurement setup. Set either previous node or next node, not both.

Examples

ck add db database1.dbc
ck add db database1.dbc database2.ldf
ck add db database1.dbc --name "My Databases" --previous-node "CAN 1"