3
Building an Audio Metadata CLI
Hands-on learning is one of the best ways to learn. So, in this chapter, we will build out a few of our example audio metadata CLI use cases from start to finish. The code is available online and can be explored alongside this chapter or independently. Forking the GitHub repo and playing around with the code, adding in new use cases and tests, are encouraged as these are excellent ways to learn before diving into some of the ways to refine your CLI in the following chapters.
Although this example covered in this chapter is not built on an empty code base – it is built on top of an existing REST API – it’s worth noting that the implementation of commands does not necessarily rely on an API. This is only an example ...
Get Building Modern CLI Applications in Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.