NOTE: This is a experimental script and can contain bugs or issues, no command is executed without the users consent
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_KEYenvironment 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?
