Consider introducing a new lib search
flag to omit the details for all releases
from the response
#2064
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
topic: CLI
Related to the command line interface
topic: code
Related to content of the project itself
topic: gRPC
Related to the gRPC interface
type: enhancement
Proposed improvement
Describe the request
The CLI on the
./arduino-cli lib search "" format --json
command produces ~38MB of data. A big part of the result JSON is not used (in IDE2). If there were a flag to omit all the details of the releases, IDE2 would be happy to use it. Thank you!IDE2 uses the
lib search
:category
andtypes
),author
,version
,maintainer
,sentence
,website
, and the key of thereleases
object for the available version), andSketch
>Include Library
menu (provides_includes
)Describe the current behavior
CLI returns with this library structure:
IDE2 would be happy with this:
Arduino CLI version
0.29.0
Operating system
macOS
Operating system version
12.5.1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: