4 ms·
> From the videos, I believe you have to press Enter to actually execute the suggested command. Cool, that's good to hear if that's the case. > The readme did
by 4oo4 4y ago
> From the videos, I believe you have to press Enter to actually execute the suggested command.
Cool, that's good to hear if that's the case.
> The readme did say that it was inspired by a similar project targetting zsh[0], so I don't see why over time the model couldn't improve to suggest what you want.
Interesting, I know very little about all the cool stuff that zsh can do compared with bash, I suppose if it works well for zsh it could probably work for bash then, since zsh is more complex?
Personally I can't see myself ever using these kinds of tools, even if it fit my usecase. In part because I like to figure things out for myself, and also because I don't like outsourcing decisions to unaccountable ML models. I think these are cool ideas, but I think in the long run they will cause more problems than they solve, just like no-code development platforms. IMO all ML models need to be able to explain themselves before we can trust them with anything important.
- not_a_bot_ryan 4y agoDisclaimer - I worked on this Codex CLI prototype. You definitely do have to press enter to execute the command - as with Copilot, you - the developer - can, and should, retain control. I also like figuring things out myself, but find myself using this tool to help me do so. If I'm using kubectl to run some esoteric command, I'd rather not leave the shell to figure it out - my usage pattern is usually to ask once or twice, and then use that knowledge to handle it on my own the next time
- 4oo4 4y agoThat is a really good use case I didn't think about, since I'm so used to having to leave the terminal to look stuff up in a browser when I can't find something with a manpage or `--help`/`Get-Help`. I'll admit I'm probably being overly skeptical (as I am with a lot of ML things in general), but regardless I think this is really cool, and you guys did a great job on it! I should probably actually try it instead of trying to second guess it. Is there a way to have it just echo the output instead of having the input ready for you to press enter? Only asking since I'm a clumsy person at the keyboard sometimes :)
- not_a_bot_ryan 4y agoThat's a great feature request! We could certainly add configuration for an extra validation step (i.e. "Are you sure you want to run this command")