3 ms·
Wouldn't it be easier to have a convenient library/parser for almost all of the use cases instead of an immensely complex catch-all solution? Having custom logi
by ablob 4y ago
Wouldn't it be easier to have a convenient library/parser for almost all of the use cases instead of an immensely complex catch-all solution?
Having custom logic when required should almost always be less complex when such a ~strange command is to be implemented.
- abathur 4y agoAs I said, my usecase doesn't involve implementing the commands--it involves reliably identifying executables in the arguments to many different commands. I can't go rewrite awk, find, and sed with an opinionated cli module. I have to deal with the current reality. (you're roughly describing what I already do, and it scales poorly)