particle-iot / particle-cli

Command Line Interface for Particle Cloud and devices
Apache License 2.0
212 stars 92 forks source link

Remove assets from application binary #774

Closed keeramis closed 1 month ago

keeramis commented 1 month ago

Description

  1. Add particle binary list-assets /path/to/binary.bin and particle binary strip-assets /path/to/binary.bin
  2. Remove _parseApplicationBinary helper, as it is redundant to _parseBinary

How to Test

  1. Compile a binary with assets (take the .bin file) and run the above two commands
  2. Compile a binary without assets (take the .bin file) and run the above two commands
  3. Compile a bundle with assets (take the .zip file) and run the above two commands

Related Issues / Discussions

N/A

Completeness