Closed
Description
AS A User
I NEED TO determine the result of a call to the arduino-cli
based on the response
AND the command specifies the --format=json
parameter
SO THAT I can distinguish the difference in between a successful operation and a failed operation
Example
I issue a command like
>> arduino-cli lib install AudioZero@1.0.0 --format=json
But the response is empty, like:
>> arduino-cli lib install AudioZero@1.0.0 --format=json
>>
Equivalent example download
Same result when I issue a command like
>> arduino-cli lib download AudioZero --format=json # or...
>> arduino-cli lib download AudioZero@1.0.0 --format=json
But the response is empty, like:
>> arduino-cli lib download AudioZero --format=json # or....
>>
>> arduino-cli lib download AudioZero@1.0.0 --format=json
>>
Equivalent example list
Same result when I issue a command like
>> arduino-cli lib list --format=json
But the response is empty, like:
>> arduino-cli lib list --format=json
>>
Equivalent example uninstall
Same result when I issue a command like
>> arduino-cli lib uninstall AudioZero@1.0.0 --format=json
But the response is empty, like:
>> arduino-cli lib uninstall AudioZero@1.0.0 --format=json
>>
Equivalent example update-index
Same result when I issue a command like
>> arduino-cli lib update-index --format=json
But the response is empty, like:
>> arduino-cli lib update-index --format=json
>>
Equivalent example upgrade
Same result when I issue a command like
>> arduino-cli lib upgrade --format=json
But the response is empty, like:
>> arduino-cli lib upgrade --format=json
>>