I think this is trying to say you shouldn't build CLI parsing logic into your core functionality, and this makes sense.
Core functionality should be in functions, classes, etc. and a CLI utility can be separately written or synthesized that imports that library, and anything wanting to implement a different interface can do the same.
Isn't that the way it's normally done? Real world example is libcurl and curl command.
Core functionality should be in functions, classes, etc. and a CLI utility can be separately written or synthesized that imports that library, and anything wanting to implement a different interface can do the same.
Isn't that the way it's normally done? Real world example is libcurl and curl command.