Hey everyone, I have a question that has been bugging me for some time now and have yet to find a satisfactory answer. Hopefully, someone can shed some light here:
I see that in many REST apps, for example, people are using the cobra
library. I’m a bit confuzzled by this since in essence that’s a CLI library and in my mind, there’s no connection between CLI and a backend HTTP service for instance. For instance, in Java, I haven’t seen a similar pattern. What am I missing here? Why the need for the CLI?