Download:
Usage: oak [filename]
oak [filename] Uploads the bin file at [filename] to the Oak via the Particle Cloud using the credentials and device currently selected. Quits with error is no credentials previously provided or access token has expired.
oak If not yet logged in, or access token has expired - accepts credentials for Particle Cloud, fetches access token, then presents a list of devices on your account to choose from. If it already has a valid access token it will go straight to the list. Selecting a device saves the selected device id and access_token to the config file, so any initiated uploads will go to that device. Remains in device selection loop so you can quickly change devices, exit, or change accounts.
- Install Vagrant
./build_linux_x86.sh
- Enjoy
oak-linux-x86.zip
- Install Vagrant
./build_linux_x64.sh
- Enjoy
oak-linux-x64.zip
- Install homebrew
brew install node
npm install -g nexe
git clone https://github.com/digistump/OakCLI
cd OakCLI
./compile.sh osx
- Enjoy
oak-osx.zip
- Install node.js
- Install python
- "npm install -g nexe"
- Clone this repository, cd to it
- "npm install"
- "nexe -i ./oak.js -o ./oak"