jesusprubio / up

📶 Troubleshoot problems with your Internet connection
MIT License
446 stars 20 forks source link

Independent timeouts per protocol #30

Open jesusprubio opened 7 months ago

DnFreddie commented 3 days ago

I think it might be hard to implement this using only the standard library's flag package. If you want to enable users to pass multiple protocols with custom configurations, it would be better to use a CLI framework like Cobra.

While I can generate flags like --tcp-timeout for every protocol, the command structure will quickly become unreadable without a proper tree structure for the commands