gptcli
is a command-line tool that converts natural language commands into bash commands, making it easy to interact with your computer.
pip install git+https://github.com/wangml999/gptcli.git
export OPENAI_API_KEY=xxxxxxxxxxx
pip uninstall gptcli
usage: gptcli.py [-h] [-c] [-i] [-m] text [text ...]
positional arguments:
text the question to ask
options:
-h, --help show this help message and exit
-c, --command type the command directly to the terminal
-i, --info get the information about the command
-m, --markdown show markdown syntax hightlighting
$ gptcli -m create a demo busybox pod demo in namespace xyz with label tag=abc
$ gptcli -c show all the pods in namespace xyz with label tag=abc