Skip to content

a simple tool for querying shell command in terminal

Notifications You must be signed in to change notification settings

hriverg/command-wiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

command-wiz

a simple tool for querying shell command in terminal

Configuration

  1. Set the OpenAI API Key
export OPENAI_API_KEY="your-api-key-here"
  1. Modify the Configuration in cw.py
    You can adjust the BASE_URL and MODEL parameters in cw.py as needed to connect to the appropriate service and specify the model.

  2. Grant Execution Permission to cw.py

chmod +x cw.py
  1. Place the cw File in the System Path
    To be able to call the cw command directly from the terminal, copy the generated cw file to the /usr/local/bin directory.
    For example:
sudo cp cw /usr/local/bin

Example usage

$ cw find all python file in the folder
find . -name "*.py"

About

a simple tool for querying shell command in terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages