Skip to content

wangml999/gptcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gptcli

gptcli is a command-line tool that converts natural language commands into bash commands, making it easy to interact with your computer.

Install

pip install git+https://github.com/wangml999/gptcli.git
export OPENAI_API_KEY=xxxxxxxxxxx

Uninstall

pip uninstall gptcli

Usage

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

Demo

$ 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

Alt Text

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages