Re:Show HN: Shelly: Write Terminal Commands in English
by sp332 on Tuesday January 16, 2024 @10:49AM
(#39014656)
Looking up a given command is at least possible. Remembering a forgotten command doesn't work at all.
Re:Show HN: Shelly: Write Terminal Commands in English
by xigoi on Tuesday January 16, 2024 @10:54AM
(#39014745)
> I’m assuming the commands aren’t automatically executed, as that sounds absurd.
Seeing how much some people trust LLMs, I wouln’t be surprised. We need to come up with an equivalent of Darwin Awards for computer systems.
Re:Show HN: Shelly: Write Terminal Commands in English
by paletov on Wednesday January 17, 2024 @02:07AM
(#39024264)
It opens the command in nano/vim in the terminal and lets you edit it. Saving executes the final version.
Currently, the user has to be experienced enough to know if a command is safe to be executed. However, you are right, and I'll look into adding a safety feature that signifies if a command is potentially dangerous.
Re:Show HN: Shelly: Write Terminal Commands in English
by Ferret7446 on Wednesday January 17, 2024 @05:22AM
(#39025864)
> Saving executes the final version
That is quite dangerous, and I assume that it is actually "on exit" and not "on save", as I assume it is implemented by creating a temp file and opening it with the editor. There are various ways that an editor can crash/abort which would automatically execute the command.
I’m assuming the commands aren’t automatically executed, as that sounds absurd.