Compare commits

..

No commits in common. "a6763b8006f25a6b457ea89e4910fcb57caf3b71" and "06dca429e97e3101fea504d727c019f1e9385be1" have entirely different histories.

1 changed files with 1 additions and 7 deletions

View File

@ -1,12 +1,6 @@
<h1>smartsh.py</h1>
*smartsh.py* is a simple python script that I wrote which can take a task description (any string) as argument and query OpenAPI's API to tell you how to accomplish the given task using a shell command.
<h3>See it in action on asciinema!</h3>
[![asciicast](https://asciinema.org/a/576695.png)](https://asciinema.org/a/576695)
Yes, chatgpt from command line (sort of). But let me tell you a simple trick that you can use to supercharge your bash with it!
*smartsh.py* is a simple python script that I wrote which can take a task description (any string) as argument and query OpenAPI's API to tell you how to accomplish the given task using a shell command. Yes, chatgpt from command line (sort of). But let me tell you a simple trick that you can use to supercharge your bash with it!
bash (I think starting from 4.0) conveniently provides a handler for situations when a command that the user entered is invalid.