Re:Show HN: My new CLI homepage
by conradk on Wednesday March 02, 2016 @04:45PM
(#11213284)
Kudos on implementing this idea :)
It's a bit awkward, to be frank, though. When I type "ls RE<tab>", it autocompletes to "README" even though there is another file called "REST-for-TYPO3-rest.cundd.net".
So then I type in the full filename and I get "undefined":
> cat REST-for-TYPO3-rest.cundd.net
undefined
Maybe "cat <filename>" could open the URL in a window or something. It seems like the only possible thing at the moment is "ls", "pwd" and "cat README".
Re:Show HN: My new CLI homepage
by cundd on Wednesday March 02, 2016 @04:50PM
(#11213316)
Ok. "Undefined" is not good. :-S
For the URL stuff: you can "cd REST-for-TYPO3-rest.cundd.net". I thought of the links as if they where folders where you can step into.
Re:Show HN: My new CLI homepage
by conradk on Thursday March 03, 2016 @03:25AM
(#11215648)
Oh, now that's cool ! I see you've added a "help" command. And "cd REST-for-TYPO3-rest.cundd.net" makes a lot of sense now that I can see that "REST-for-TYPO3-rest.cundd.net" is a directory with the "ll" command.
Re:Show HN: My new CLI homepage
by mreithub on Wednesday March 02, 2016 @04:05PM
(#11213002)
You might want to add a 'motd' with a little welcome message and a simple 'help' listing the commands and a one liner for each of them (Autocomplete for some reason didn't work for me - Chrome 48, Mac).
It's a bit awkward, to be frank, though. When I type "ls RE<tab>", it autocompletes to "README" even though there is another file called "REST-for-TYPO3-rest.cundd.net".
So then I type in the full filename and I get "undefined":
> cat REST-for-TYPO3-rest.cundd.net
undefined
Maybe "cat <filename>" could open the URL in a window or something. It seems like the only possible thing at the moment is "ls", "pwd" and "cat README".
I like it ! :)