particle-iot / particle-cli

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

feature/sc-126217/implement-update-cli-command-in-js #729

Closed hugomontero closed 6 months ago

hugomontero commented 6 months ago

Description

This PR will implement update-cli by using the new manifest and build structure.

How to Test

  1. Pull down the branch: git pull && git checkout feature/sc-126217/implement-update-cli-command-in-js
  2. Install dependencies: npm i
  3. Run update-cli command:
    • npm start -- update-cli
  4. Download the executable from CircleCI Artifacts
  5. Run these commands:
    • ./particle -- update-cli
    • ./particle -- update-cli --version 1.2.3
    • ./particle -- update-cli --version 3.23.0

Outcome

Related Issues / Discussions

Story details: https://app.shortcut.com/particle/story/126217

Completeness