Re:Ask HN: How should the CLI be designed today?
by y1426i on Saturday July 16, 2016 @08:43PM
(#12108467)
I find CLI a great interface. Its just stuck in pre web days! Here are some thoughts on its design / UX -
- contextual help. if i write a command incorrect, it should suggest correction and link to more help.
- cloud storage of all my command history
- be more understanding. talk a bit in natural language. Eg. show my ip address -> translated to the right shell command.
- learn and grow automatically as the community builds more tools. Like, hey used this command but check this one out!
It is not feasible to upgrade all existing scripts to adhere to this but a wrapper shell that can provide this functionality should be very well possible.
- contextual help. if i write a command incorrect, it should suggest correction and link to more help.
- cloud storage of all my command history
- be more understanding. talk a bit in natural language. Eg. show my ip address -> translated to the right shell command.
- learn and grow automatically as the community builds more tools. Like, hey used this command but check this one out!
It is not feasible to upgrade all existing scripts to adhere to this but a wrapper shell that can provide this functionality should be very well possible.