Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Having a flag in the command line interface that spits out the source code of the program doing the same stuff as your command is pretty cool. It's like lifting the hood and showing you what's going on. This not only helps you get a better grip on how things work but also lets you make changes to fit your needs. You can tweak or add stuff based on what you want, making the whole experience user-friendly. It's all about giving users the power to customize things their way.


It's also just great documentation for a programming library. Like, if you're using libcurl and realize you need to do a range request (or whatever), or "copy as curl" from browser network tab, you can just do it on the command line and add `--libcurl` and find out exactly how to do that with the C library. It's the bee's knees.


100%


I wish this also worked for Gnome settings, network settings, firewall config GUIs, and anything that can do things using CLI commands.


With dbus we're moving in that direction.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: