From API to CLI. Designing and Building a CLI for EdgeX
EdgeX is an open source hardware-agnostic framework for IoT and Edge Computing. It is composed of a series microservices that allow developers to plug and play from the growing ecosystem of third-part …
Talk Title | From API to CLI. Designing and Building a CLI for EdgeX |
Speakers | Alexandre Courouble (Open Source Engineer, VMware), Nikolay Stanchev (Open Source Engineer, VMware) |
Conference | Open Source Summit + ELC Europe |
Conf Tag | |
Location | Lyon, France |
Date | Oct 27-Nov 1, 2019 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
EdgeX is an open source hardware-agnostic framework for IoT and Edge Computing. It is composed of a series microservices that allow developers to plug and play from the growing ecosystem of third-party components.Until now, the only way to interact with EdgeX was to consume the different microservices' APIs through curl requests or Postman and through complicated developer scripts. As a newcomer to the project, this represents a high barrier to entry. With the EdgeX CLI, we hope to lower the high barrier to entry and improve developer productivity by offering a single user-friendly point of access. With the tool, users can perform actions on devices, initialize a new EdgeX instance, connect to a remote instance among other things.In this talk, we share our experience creating a CLI tool in Go for the EdgeX project. We share best practices and the anatomy of a good CLI by looking at other popular CLI tools. We also discuss libraries that can help you jump start your CLI development.