ck install extension
Installs a CanKing extension.
Synopsis
ck install extension
<EXTENSION_FILE>
[--url <String>]
[--api-key <String>]
[--language <en|zh|ja>]
[-r|--replace]
ck install extension -h|--help
Arguments
EXTENSION_FILE
The absolute path to the WebAssembly file, .wasm-file, containing the service extension, or to the Node.js package file, .tgz-file, containing the GUI extension.
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).-r|--replace
Replace/Update any existing extension with the same name.
Examples
ck install extension path/to/extensionfile.wasm
ck install extension path/to/extensionfile.tgz --replace