I have added support for Particle’s official project structure to po-util. Any project created with Particle CLI or Particle Workbench can now be built using po-util.
To get the update you’ll need to run the following:
There are a few new commands that allow you to build the official structure:
First you must have a Particle project you want to build. If you need to make one you can do:
particle project create . --name myProject
The new commands are
clean-beta. You can run them like so:
po PLATFORM build-beta
po PLATFORM flash-beta
po PLATFORM clean-beta
In addition, all of the options from Particle Workbench are supported:
To use the options you can use the
Example: if you want to build the user firmware for a photon you could do:
po photon run compile-user
If you forget any of these options you can press the TAB key after
run to autocomplete the different options. In case you didn’t know, po-util has TAB completion for nearly all commands, making it much easier to choose the arguments you want.