HttpClient icon indicating copy to clipboard operation
HttpClient copied to clipboard

PlatformIO Library Manger manifest file

Open ivankravets opened this issue 11 years ago • 1 comments

ivankravets avatar Oct 23 '14 20:10 ivankravets

library.json is a library manifest file which can be used with different tools/managers to organise embedded libraries. Currently, only PlatformIO uses it. How does this look from CLI:

$ platformio lib search --framework="arduino" "http client"
# Found ... libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
# [ 66  ] HttpClient       arduino, atmelavr     "Adrian McEwen": HttpClient is a library to make it easier to interact with web servers

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

$ platformio lib show 66
# HttpClient
# -------------
# Author: Adrian McEwen 
# Keywords: http, web, client, ethernet
# Frameworks: arduino
# Platforms: atmelavr
# Version: ***
#
# HttpClient is a library to make it easier to interact with web servers

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

ivankravets avatar Oct 23 '14 20:10 ivankravets