Awesome
Commandpilot
NOTE: This is a experimental script and can contain bugs or issues, no command is executed without the users consent
<p align="center"> <img src="https://github.com/barthr/commandpilot/blob/master/demo.gif" width="90%" height="90%" /> </p>Assistant to help with those pesky commands on how to do things. For example, how do you rsync files with progress from one computer to another
Requirements:
OPENAI_API_KEY
environment variable- Installation of jq (https://stedolan.github.io/jq/)
- Installation of gum (https://github.com/charmbracelet/gum)
Installation
COMMAND_PILOT_PATH=~/.local/bin/commandpilot # or any path in your $PATH you would like, I like to use ~/.local/bin for my own "scripts" and "binaries"
# Download the script
wget https://raw.githubusercontent.com/barthr/commandpilot/master/command-pilot.sh -O $COMMAND_PILOT_PATH
# Set the correct permissions
chmod +x $COMMAND_PILOT_PATH
Run it!
➜ commandpilot
> What command would you like help with?