obniz-cli is a CLI tool for writing and configuring obnizOS.
It can be used from the shell to do the following
- Writing in obnizOS
- Sign in to the cloud and create a device
- Writing a DeviceKey by specifying an obnizID
- Network settings such as Wi-Fi
With obniz-cli, you can create devices and set up WiFi with just one command, which makes it easy to create a large number of devices.
For example, the following command will create the device (with description) => Write OS=>WiFi configuration.
obniz-cli os:flash-create -p /dev/tty.USBSERIAL --description "Installed in Plant A" --config ./wifi-config.json
reference: Install obnizOS