Compare commits

...

2 Commits

Author SHA1 Message Date
Ashik a6763b8006
Update asciinema cast 2023-04-11 17:52:04 +02:00
Ashik 61b99fad99 Include asciinema cast in README.md 2023-04-11 17:43:15 +02:00
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,12 @@
<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. 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.
<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!
bash (I think starting from 4.0) conveniently provides a handler for situations when a command that the user entered is invalid.