particle-iot / particle-cli

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

Show Device Protection checks transparently when working with CLI commands #758

Closed keeramis closed 2 months ago

keeramis commented 2 months ago

Description

While running any commands in the CLI, CLI check if a device is a Protected Device and if it is, CLI puts the device in Service Mode, gets the output of the command, then re-enabled Protection back on the device. This PR adds a spinner that shows this sequence transparently to the user.

How to Test

Related Issues / Discussions

Completeness