4 ms·
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 functio
by tenebrisalietum 6y ago
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.
- arogozhnikov 6y ago+1 for reading post