Features suggestion
Closed this issue · 5 comments
I like this deno-based version and find it easy to install and interact with, but I wonder if further features could make it even more powerful.
For example, it would be great if ShellGPT was OS and shell aware like this tool for example: https://github.com/TheR1D/shell_gpt
I also feel there could also other aspects of https://github.com/TheR1D/shell_gpt that could be used for this deny-based ShellGPT tool.
Thanks for the feedback @gbstan
ShellGPT is OS aware, when you run -x
it passes context about the current OS. I can add shell awareness for common shells, it currently runs commands via sh -c [command]
.
Let me know if there are any particular features of the python shell_gpt you'd like most to help with prioritization. I see REPL, code gen, and caching for example.
Hi @mattvr,
Thanks for the quick response.
Good to know that ShellGPT is OS aware. Being also shell aware (zsh is the common shell on recent MacOS for example) would be useful to make sure that the proposed scripts run properly or use the specifics of the shell being used (sh -c is quite broad so should enable compatibility but it would be good to be able to exploit specifics of a particular shell).
I think REPL, code get, and caching are definitely really cool to have and would go a long way to make ShellGPT one of the better shell-based GPT tools out there for the moment.
Hey @gbstan, I've updated to include a REPL mode, shell awareness, and code completion. Can add caching and other features in the future. Hope these features are helpful!
Might be useful to update the README.m and give examples for the new --code and --REPL options.