Giter Site home page Giter Site logo

oakcli's Introduction

OakCLI

The Oak command line upload tool

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.

Build Process

Linux x86

  1. Install Vagrant
  2. ./build_linux_x86.sh
  3. Enjoy oak-linux-x86.zip

Linux x64

  1. Install Vagrant
  2. ./build_linux_x64.sh
  3. Enjoy oak-linux-x64.zip

OSX

  1. Install homebrew
  2. brew install node
  3. npm install -g nexe
  4. git clone https://github.com/digistump/OakCLI
  5. cd OakCLI
  6. ./compile.sh osx
  7. Enjoy oak-osx.zip

Windows

  • Install node.js
  • Install python
  • "npm install -g nexe"
  • Clone this repository, cd to it
  • "npm install"
  • "nexe -i ./oak.js -o ./oak"

oakcli's People

Contributors

ekettenburg avatar jhitze avatar darklotus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.