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 and it’s encouraged that you use your imagination in this chapter on how commands could be implemented if not relying on an API. This chapter will give you an experimental code base and you’ll learn about...