@hongminhee洪 民憙 (Hong Minhee) im not sure if i agree with the main context of the post, I do understand the reasoning behind it, but using a library is just moving this to a third party, making a target for chain attacks…
@shinspiegelJeferson 'Shin' That's a fair concern in general, but it applies to any dependency, not just CLI parsers. Optique's core package has zero runtime dependencies, which keeps the attack surface minimal. If supply chain security is a priority, you could also vendor the code or pin to specific versions. That said, manually parsing process.argv for anything beyond trivial cases tends to introduce its own bugs.