Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

PlatformIO Library Registry manifest file #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ivankravets
Copy link

@ivankravets
Copy link
Author

library.json is a library manifest file which can be used by the different tools/managers to organise embedded libraries. How does this look from CLI:

$ platformio lib search "dht22"
# Found ... libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
[ 115  ] DHT22         arduino, atmelavr     "Ben Adams, Craig Ringer": Digital-output relative humidity & temperature sensor/module DHT22

$ platformio lib install 115
# Installing [ 115 ]  library:
# Downloading  [####################################]  100%
# Unpacking  [####################################]  100%
# The library  [ 115  ] ‘DHT22' has been successfully installed!

$ platformio lib show 115
# DHT22
# -------------
# Author: Ben Adams, Craig Ringer
# Keywords: /////////
# Frameworks: arduino
# Platforms: atmelavr
# Version: ***
#
# Digital-output relative humidity & temperature sensor/module DHT22

$ platformio lib update
# Updating DHT22  library:
# Versions: Current=***, Latest=***       [Up-to-date]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant