ck get devices

Gets all available devices.

Synopsis

ck get devices
    [--url <String>]
    [--api-key <String>]
    [--language <en|zh|ja>]
    [--no-virtuals]
    [--json]

ck get devices -h|--help

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).

  • --no-virtuals
    Exclude virtual devices

  • --json
    Returns all device details in JSON format

Examples

ck get devices
ck get devices --no-virtuals
ck get devices --json