kameleon-cli
v0.9.11
Published
Kameleon CLI (Command Line Interface)
Downloads
6
Readme
Kameleon CLI (Command Line Interface)
Installation
$ npm install -g kameleon-cli
Usage
Help
$ kameleon -h
Write user code (.js)
$ kameleon write <file> -p <port>
<file>
: Path to the file to copy.-p, --port <port>
: Port where device is connected. (e.g.-p /dev/tty.usbmodem1441
)
Example:
$ kameleon write index.js -p /dev/tty.usbmodem1441
Erase user code
$ kameleon erase -p <port>
-p, --port <port>
: Port where device is connected. (e.g.-p /dev/tty.usbmodem1441
)
Example:
$ kameleon erase -p /dev/tty.usbmodem1441
Firmware update
$ kameleon update <firmware> -p <port>
<firmware>
: Path to the firmware to update.-p, --port <port>
: Port where device is connected. (e.g.-p /dev/tty.usbmodem1441
)
Example:
$ kameleon update kameleon.bin -p /dev/tty.usbmodem1441